Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Get pointer should not be called on host for local accessors (#…
…13747) Local accessors only have their memory allocated on device when a kernel starts executing. Any pointer that refers to local memory on host before kernel execution has begun is therefore invalid. > This function may only be called from within a [SYCL kernel function](https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sycl-kernel-function). Table 78 in https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#_interface_for_local_accessors
- Loading branch information