Skip to content

Commit f133539

Browse files
committed
Added explicit sycl::plus
1 parent 272e536 commit f133539

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/test/on-device/back_to_back_collectives.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ int main() {
4747
auto g = it.get_group();
4848
// Loop to increase number of back-to-back calls
4949
for (int r = 0; r < 10; ++r) {
50-
Sum[i] = reduce(g, Input[i], plus<>());
51-
EScan[i] = exclusive_scan(g, Input[i], plus<>());
52-
IScan[i] = inclusive_scan(g, Input[i], plus<>());
50+
Sum[i] = reduce(g, Input[i], sycl::plus<>());
51+
EScan[i] = exclusive_scan(g, Input[i], sycl::plus<>());
52+
IScan[i] = inclusive_scan(g, Input[i], sycl::plus<>());
5353
}
5454
});
5555
});

0 commit comments

Comments
 (0)