Remove dim default val

This commit is contained in:
Aidan 2024-07-03 10:33:42 +01:00
parent e0b8a578ac
commit cf94e5dae3

View file

@ -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();
} }