Skip to content

Commit

Permalink
adding some libs
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-gd committed Aug 17, 2016
1 parent a8a3cf4 commit 9c0e29a
Show file tree
Hide file tree
Showing 40 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
#*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib
#*.lai
#*.la
#*.a
#*.lib

# Executables
*.exe
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ function(halide_project name folder)
add_executable("${name}" ${ARGN})
target_link_libraries("${name}" PRIVATE ${CMAKE_SOURCE_DIR}/packages/halide/WIN64/$<CONFIGURATION>/Halide.lib)
target_link_libraries("${name}" PRIVATE ${CMAKE_SOURCE_DIR}/packages/libpng.1.6.23.1/build/native/lib/x64/v140/dynamic/$<CONFIGURATION>/libpng16.lib)
target_link_libraries("${name}" PRIVATE ${CMAKE_SOURCE_DIR}/packages/OpenCL.lib)
target_include_directories("${name}" PRIVATE "${CMAKE_SOURCE_DIR}/packages/libpng.1.6.23.1/build/native/include")
target_include_directories("${name}" PRIVATE "${CMAKE_SOURCE_DIR}/packages/libpng/include")
target_include_directories("${name}" PRIVATE "${CMAKE_SOURCE_DIR}/packages/halide/WIN64/include")
Expand Down
2 changes: 1 addition & 1 deletion halide_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ int main(int argc, char **argv) {

bool have_opencl_or_metal() {
#ifdef _WIN32
return LoadLibrary("OpenCL64.dll") != NULL;
return true;//return LoadLibrary("OpenCL.dll") != NULL;
#elif __APPLE__
return dlopen("/System/Library/Frameworks/Metal.framework/Versions/Current/Metal", RTLD_LAZY) != NULL;
#else
Expand Down
Binary file added packages/OpenCL.lib
Binary file not shown.
Binary file added packages/halide/WIN64/Debug/Halide.dll
Binary file not shown.
Binary file added packages/halide/WIN64/Debug/Halide.lib
Binary file not shown.
Binary file added packages/halide/WIN64/Release/Halide.dll
Binary file not shown.
Binary file added packages/halide/WIN64/Release/Halide.lib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 9c0e29a

Please sign in to comment.