+
+

numba_dpex.kernel_api.local_accessor#

+

Implements a Python analogue to SYCL’s local_accessor class. The class is +intended to be used in pure Python code when prototyping a kernel function +and to be passed to an actual kernel function for local memory allocation.

+
+

Overview#

+
+ + + + + + + +
Classes#

LocalAccessor

The LocalAccessor class is analogous to SYCL’s local_accessor

+
+
+
+

Classes#

+
+
+class LocalAccessor(shape, dtype)#
+

The LocalAccessor class is analogous to SYCL’s local_accessor +class. The class acts a s proxy to allocating device local memory and +accessing that memory from within a numba_dpex.kernel() decorated +function.

+
+ +
+
+ +