Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] add host-task-dependency test #46

Merged

Conversation

alexanderfle
Copy link

Signed-off-by: Alexander Flegontov [email protected]

Signed-off-by: Alexander Flegontov <[email protected]>
@@ -2,6 +2,9 @@ if( NOT OpenCL_LIBRARY )
find_package(OpenCL)
endif()

find_package(Threads REQUIRED)
set(SYCL_THREADS_LIB ${CMAKE_THREAD_LIBS_INIT})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also propagate the value in lit.cfg.py and lit.site.cfg.cpy.in.
Please verify your change before submition

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value is already there. I checked it again.
https://github.com/intel/llvm-test-suite/blob/intel/SYCL/lit.cfg.py#L113
https://github.com/intel/llvm-test-suite/blob/intel/SYCL/lit.site.cfg.py.in#L25

So only changes in SYCL/CMakeLists.txt are needed for SYCL_THREADS_LIB to work with threads.

@alexanderfle
Copy link
Author

@vladimirlaz ping

@vladimirlaz vladimirlaz merged commit adeb4f5 into intel:intel Nov 2, 2020
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants