Skip to content

Commit

Permalink
[SYCL] Minor fix 4
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 91af441 commit 6e9f228
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ template <typename T1, typename T2> struct KernelFunctor {
KernelFunctor(T1 DeviceStorage, T2 DataAcc)
: mDeviceStorage(DeviceStorage), mDataAcc(DataAcc) {}

void operator()(sycl::item<1> It) const {
template <typename T> void operator()(T It) const {
// Select method that corresponds to this work-item
auto *Ptr = mDeviceStorage->template getAs<BaseOp>();
if (It % 2)
Expand Down

0 comments on commit 6e9f228

Please sign in to comment.