Skip to content

Commit

Permalink
Replace calls to deprecated local_accessor::get_pointer()
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-rowe committed Dec 5, 2023
1 parent 98285ab commit 33bb61d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backends/sycl-ref/ceed-sycl-ref-basis.sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static int CeedBasisApplyInterp_Sycl(sycl::queue &sycl_queue, const SyclModule_t
const CeedInt group_size = work_group.get_local_linear_range();
const CeedInt elem = work_group.get_group_linear_id();

CeedScalar *s_interp_1d = s_mem.get_pointer();
CeedScalar *s_interp_1d = s_mem.get_multi_ptr<sycl::access::decorated::yes>().get();
CeedScalar *s_buffer_1 = s_interp_1d + Q * P;
CeedScalar *s_buffer_2 = s_buffer_1 + buf_len;

Expand Down Expand Up @@ -183,7 +183,7 @@ static int CeedBasisApplyGrad_Sycl(sycl::queue &sycl_queue, const SyclModule_t &
const CeedInt group_size = work_group.get_local_linear_range();
const CeedInt elem = work_group.get_group_linear_id();

CeedScalar *s_interp_1d = s_mem.get_pointer();
CeedScalar *s_interp_1d = s_mem.get_multi_ptr<sycl::access::decorated::yes>().get();
CeedScalar *s_grad_1d = s_interp_1d + P * Q;
CeedScalar *s_buffer_1 = s_grad_1d + P * Q;
CeedScalar *s_buffer_2 = s_buffer_1 + buf_len;
Expand Down

0 comments on commit 33bb61d

Please sign in to comment.