Skip to content

Commit 4b9805f

Browse files
committed
[SYCL] Add unit test for PR 5414
This patch adds unit test for #5414. This test creates ExecCGCommand with some known values needed in RT to restore context in host task. After that we start enqueueing and verify the correctness of these values in mocked piEnqueueNativeKernel func.
1 parent 8250a51 commit 4b9805f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sycl/unittests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
add_custom_target(SYCLUnitTests)
2+
add_definitions(-g -O0)
23
set_target_properties(SYCLUnitTests PROPERTIES FOLDER "SYCL tests")
34

45
foreach(flag_var

sycl/unittests/scheduler/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ add_sycl_unittest(SchedulerTests OBJECT
1717
RequiredWGSize.cpp
1818
QueueFlushing.cpp
1919
PostEnqueueCleanup.cpp
20+
Regression.cpp
2021
utils.cpp
2122
)

0 commit comments

Comments
 (0)