Skip to content

Commit 272e536

Browse files
committed
Added explicit alias for sycl::plus
1 parent 588661b commit 272e536

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

sycl/include/CL/sycl/group_algorithm.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
//===----------------------------------------------------------------------===//
88

99
#pragma once
10-
1110
#include <CL/__spirv/spirv_ops.hpp>
1211
#include <CL/__spirv/spirv_types.hpp>
1312
#include <CL/__spirv/spirv_vars.hpp>

sycl/test/extensions/group-algorithm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ int main() {
7676
std::iota(input.begin(), input.end(), 0);
7777
std::fill(output.begin(), output.end(), 0);
7878

79-
test<class KernelNamePlusV>(q, input, output, plus<>(), 0, GeZero());
79+
test<class KernelNamePlusV>(q, input, output, sycl::plus<>(), 0, GeZero());
8080
test<class KernelNameMinimumV>(q, input, output, minimum<>(),
8181
std::numeric_limits<int>::max(), IsEven());
8282

0 commit comments

Comments
 (0)