Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 26a8734

Browse files
[SYCL] Adjust XPTI/kernel/content.cpp for intel/llvm#6601 (#1164)
intel/llvm#6601 increases number of captured variable and thus number of kernel arguments for reductions. Modify the CHECKs accordingly.
1 parent 45a96ee commit 26a8734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SYCL/XPTI/kernel/content.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ int main() {
3232

3333
auto sumR = reduction(sumBuf, cgh, plus<>());
3434
// Reduction kernel is used
35-
// CHECK-OPT:Node create|{{.*}}reduction{{.*}}test1{{.*}}|{{.*}}.cpp:[[# @LINE - 5 ]]:3|{1024, 1, 1}, {{{.*}}, 1, 1}, {0, 0, 0}, 6
36-
// CHECK-NOOPT:Node create|{{.*}}reduction{{.*}}test1{{.*}}|{{.*}}.cpp:[[# @LINE - 6 ]]:3|{1024, 1, 1}, {{{.*}}, 1, 1}, {0, 0, 0}, 14
35+
// CHECK-OPT:Node create|{{.*}}reduction{{.*}}test1{{.*}}|{{.*}}.cpp:[[# @LINE - 5 ]]:3|{1024, 1, 1}, {{{.*}}, 1, 1}, {0, 0, 0}, 7
36+
// CHECK-NOOPT:Node create|{{.*}}reduction{{.*}}test1{{.*}}|{{.*}}.cpp:[[# @LINE - 6 ]]:3|{1024, 1, 1}, {{{.*}}, 1, 1}, {0, 0, 0}, 15
3737
cgh.parallel_for<class test1>(
3838
range<1>{1024}, sumR,
3939
[=](id<1> idx, auto &sum) { sum += inputValues[idx]; });

0 commit comments

Comments
 (0)