Skip to content

Commit bc7f886

Browse files
smaslov-intelbb-sycl
authored andcommitted
[SYCL] test for barrier batching (intel#750)
1 parent 976f8a2 commit bc7f886

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

SYCL/Plugin/level_zero_batch_barrier.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
<<<<<<< HEAD
12
// See https://github.com/intel/llvm-test-suite/issues/811
23
// REQUIRES: gpu, level_zero, TEMPORARILY_DISABLED
4+
=======
5+
// REQUIRES: gpu, level_zero
6+
>>>>>>> 4508a3f5f ([SYCL] test for barrier batching (#750))
37

48
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -fsycl-targets=%sycl_triple %level_zero_options %s -o %t.out
59
// RUN: env SYCL_PI_TRACE=2 ZE_DEBUG=1 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
@@ -21,6 +25,13 @@ void submit_kernel(queue &q) {
2125
int main(int argc, char *argv[]) {
2226
queue q;
2327

28+
<<<<<<< HEAD
29+
=======
30+
submit_kernel(q); // this one will immediatelly execute since q is empty
31+
// CHECK: ---> piEnqueueKernelLaunch
32+
// CHECK: ZE ---> zeCommandQueueExecuteCommandLists
33+
34+
>>>>>>> 4508a3f5f ([SYCL] test for barrier batching (#750))
2435
submit_kernel(q); // starts a batch
2536
// CHECK: ---> piEnqueueKernelLaunch
2637
// CHECK-NOT: ZE ---> zeCommandQueueExecuteCommandLists

0 commit comments

Comments
 (0)