Skip to content

Commit

Permalink
[Examples] Fix warning: 'get_pointer' is deprecated (#1169)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Sobolev <[email protected]>
  • Loading branch information
dmitriy-sobolev authored Sep 11, 2023
1 parent 3019a00 commit 5618117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/random/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ vector_example(sycl::queue& queue, std::uint32_t seed, std::vector<RealType>& x)
auto res = distr(engine);

// Store results from res to VecSize * offset position of x_acc
res.store(idx.get_linear_id(), x_acc.get_pointer());
res.store(idx.get_linear_id(), x_acc);
});
});
}
Expand Down

0 comments on commit 5618117

Please sign in to comment.