Skip to content

Commit 5f5e017

Browse files
author
Alexander Johnston
committed
[SYCL] Pass SYCL_BE=PI_OPENCL in check-sycl
To ensure that the check-sycl targets test OpenCL devices, pass SYCL_BE=PI_OPENCL. This mirrors the check-sycl-cuda target which passes SYCL_BE=PI_CUDA. Without this it is nondeterministic which device is tested by check-sycl. Signed-off-by: Alexander Johnston <[email protected]>
1 parent 62afe84 commit 5f5e017

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ list(APPEND SYCL_DEPLOY_TEST_DEPS
5959
add_lit_testsuite(check-sycl "Running the SYCL regression tests"
6060
${CMAKE_CURRENT_BINARY_DIR}
6161
ARGS ${RT_TEST_ARGS}
62+
PARAMS "SYCL_BE=PI_OPENCL"
6263
DEPENDS ${SYCL_TEST_DEPS}
6364
)
6465
add_lit_testsuite(check-sycl-deploy "Running the SYCL regression tests"

0 commit comments

Comments
 (0)