Skip to content

Commit

Permalink
gpu: sycl: use generic space for raw pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
densamoilov committed Aug 1, 2023
1 parent 51ed43b commit fdbff45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gpu/sycl/sycl_io_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ inline void store_float_value(data_type_t dt, float val, void *ptr, dim_t idx) {
namespace {
template <typename T>
using global_ptr
= ::sycl::multi_ptr<T, ::sycl::access::address_space::global_space>;
= ::sycl::multi_ptr<T, ::sycl::access::address_space::generic_space,
::sycl::access::decorated::yes>;

template <int width>
inline ::sycl::vec<float, width> handle_bf16_load(void *ptr, dim_t offset) {
Expand Down

0 comments on commit fdbff45

Please sign in to comment.