Skip to content

Commit cc57b8c

Browse files
[SYCL] Fix KernelFusion/abort_fusion.cpp in "--param ze_debug=-1" mode (#9077)
1 parent dad43b7 commit cc57b8c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sycl/test-e2e/KernelFusion/abort_fusion.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ void performFusion(queue &q, range<Kernel1Dim> k1Global,
7474
} else {
7575
std::cout << "COMPUTATION OK\n";
7676
}
77+
78+
assert(numErrors == 0);
7779
}
7880

7981
int main() {
@@ -84,9 +86,9 @@ int main() {
8486
// fusion being aborted.
8587
performFusion<class Kernel1_3, class Kernel2_3>(q, range<1>{dataSize},
8688
range<1>{16});
87-
// CHECK: ERROR: JIT compilation for kernel fusion failed with message:
89+
// CHECK: ERROR: JIT compilation for kernel fusion failed with message:
8890
// CHECK-NEXT: Cannot fuse kernels with different offsets or local sizes
89-
// CHECK-NEXT: COMPUTATION OK
91+
// CHECK: COMPUTATION OK
9092

9193
return 0;
9294
}

0 commit comments

Comments
 (0)