neurokernel.tools.gpu.bufint¶
-
neurokernel.tools.gpu.
bufint
(a)[source]¶ Return buffer interface to GPU or numpy array.
Parameters: a (pycuda.gpuarray.GPUArray or numpy.ndarray) – GPU or numpy array. Returns: b – Buffer interface to array. Returns None if a has a length of 0. Return type: buffer