Remove dim default val
This commit is contained in:
parent
e0b8a578ac
commit
cf94e5dae3
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ inline sycl::vec<Tp, n> vec_aligned_load(const Tp* aligned_ptr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Helper for accessing pointers with no warnings
|
// Helper for accessing pointers with no warnings
|
||||||
template <typename Tp, int dim = 1>
|
template <typename Tp, int dim>
|
||||||
static __dpct_inline__ Tp* get_pointer(sycl::local_accessor<Tp, dim> acc) {
|
static __dpct_inline__ Tp* get_pointer(sycl::local_accessor<Tp, dim> acc) {
|
||||||
return acc.template get_multi_ptr<sycl::access::decorated::no>().get();
|
return acc.template get_multi_ptr<sycl::access::decorated::no>().get();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue