Move to src folder
This commit is contained in:
parent
3850cd355d
commit
86842a6a15
@ -8,6 +8,4 @@ find_package(AdaptiveCpp REQUIRED)
|
|||||||
|
|
||||||
find_library(LIB_XXHASH xxhash)
|
find_library(LIB_XXHASH xxhash)
|
||||||
|
|
||||||
add_executable(sycl_comp sycl_comp.cpp)
|
add_subdirectory(src)
|
||||||
add_sycl_to_target(TARGET sycl_comp)
|
|
||||||
target_link_libraries(sycl_comp PRIVATE ${LIB_XXHASH})
|
|
||||||
|
|||||||
11
src/CMakeLists.txt
Normal file
11
src/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
add_executable(sycl_comp sycl_comp.cpp)
|
||||||
|
add_sycl_to_target(TARGET sycl_comp)
|
||||||
|
target_link_libraries(sycl_comp PRIVATE ${LIB_XXHASH})
|
||||||
|
|
||||||
|
option(SYCL_EX_COMPILE_SEQUENTIAL_BENCH
|
||||||
|
"Compile with single core cpu benchmark"
|
||||||
|
OFF)
|
||||||
|
|
||||||
|
if (SYCL_EX_COMPILE_SEQUENTIAL_BENCH)
|
||||||
|
target_compile_definitions(sycl_comp PRIVATE SEQ_BENCH)
|
||||||
|
endif()
|
||||||
Loading…
x
Reference in New Issue
Block a user