Skip to content

Commit

Permalink
[SYCL] Test
Browse files Browse the repository at this point in the history
Signed-off-by: Hu, Peisen <[email protected]>
  • Loading branch information
HPS-1 committed Jan 23, 2025
1 parent 6e9f228 commit 12514e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/test-e2e/VirtualFunctions/misc/group-barrier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ template <typename T1, typename T2, typename T3> struct KernelFunctor {
KernelFunctor(T1 DeviceStorage, T2 DataAcc, T3 LocalAcc)
: mDeviceStorage(DeviceStorage), mDataAcc(DataAcc), mLocalAcc(LocalAcc) {}

void operator()(sycl::nd_item<1> It) const {
void operator()(sycl::item<1> It) const {
auto *Ptr = mDeviceStorage->template getAs<BaseOp>();
mDataAcc[It.get_global_id()] = Ptr->apply(
mLocalAcc.template get_multi_ptr<sycl::access::decorated::no>().get(),
Expand Down

0 comments on commit 12514e7

Please sign in to comment.