Skip to content

Commit 14012dc

Browse files
authored
[SYCL] add host-task-dependency test (intel#46)
Signed-off-by: Alexander Flegontov <[email protected]>
1 parent 5927145 commit 14012dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SYCL/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ if( NOT OpenCL_LIBRARY )
22
find_package(OpenCL)
33
endif()
44

5+
find_package(Threads REQUIRED)
6+
set(SYCL_THREADS_LIB ${CMAKE_THREAD_LIBS_INIT})
7+
58
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in" "${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg")
69

710
if(CHECK_SYCL_ALL)

0 commit comments

Comments
 (0)