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

[SYCL] Fix one of reduction tests failing if add sycl::reduction #177

Merged
merged 1 commit into from
Mar 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions SYCL/Reduction/reduction_reducer_op_eq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <iostream>

using namespace sycl;
using namespace sycl::ONEAPI;

struct XY {
constexpr XY() : X(0), Y(0) {}
Expand Down Expand Up @@ -94,7 +93,7 @@ int test(T Identity) {
}

*Res = Identity;
auto Red = reduction(Res, Identity, BOp);
auto Red = ONEAPI::reduction(Res, Identity, BOp);
nd_range<1> NDR{N, L};
if constexpr (OpEq == PlusEq) {
auto Lambda = [=](nd_item<1> ID, auto &Sum) {
Expand Down