Skip to content

Commit 638e8cf

Browse files
[SYCL][NFC] Fix kernel_lambda_with_kernel_handler_arg.cpp test (#3467)
This patch avoids running this test on the host device as spec constants for host device are not implemented yet. Instead, it runs with OpenCL CPU because low-level runtime and devices are not important here - the impl is backend-agnostic.
1 parent 815b43b commit 638e8cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test/on-device/basic_tests/specialization_constants/kernel_lambda_with_kernel_handler_arg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2-
// RUN: %t.out
2+
// RUN: %CPU_RUN_PLACEHOLDER %t.out
33

44
// This test checks all possible scenarios of running single_task, parallel_for
55
// and parallel_for_work_group to verify that this code compiles and runs

0 commit comments

Comments
 (0)