Skip to content

Commit

Permalink
[Project] Minor cmake/config fixes to build cl backend
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorOrachyov committed Jun 8, 2021
1 parent c44416d commit 1aedbc6
Show file tree
Hide file tree
Showing 42 changed files with 26 additions and 8,263 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
/**/__pycache__/

# opencl source binaries
/**/cl/headers/
/deps/clbool/src/cl/headers/
5 changes: 4 additions & 1 deletion deps/clbool/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,7 @@ endif()

target_compile_definitions(clbool PUBLIC CL_HPP_ENABLE_EXCEPTIONS)
target_compile_definitions(clbool PUBLIC CL_HPP_MINIMUM_OPENCL_VERSION=110)
target_compile_definitions(clbool PUBLIC CL_HPP_TARGET_OPENCL_VERSION=110)
target_compile_definitions(clbool PUBLIC CL_HPP_TARGET_OPENCL_VERSION=110)

# Don't know, if win suffers from that, enable when compile for linux (with gcc)
target_compile_options(clbool PRIVATE $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:AppleClang,Clang,GNU>>: -fPIC>)
551 changes: 0 additions & 551 deletions deps/clbool/src/cl/headers/bitonic_esc.h

This file was deleted.

131 changes: 0 additions & 131 deletions deps/clbool/src/cl/headers/bitonic_sort_new.h

This file was deleted.

Loading

0 comments on commit 1aedbc6

Please sign in to comment.