cupy.cuda.alloc#
- cupy.cuda.alloc(size) MemoryPointer#
Calls the current allocator.
Use
set_allocator()to change the current allocator.- Parameters:
size (int) – Size of the memory allocation.
- Returns:
Pointer to the allocated buffer.
- Return type:
Site Navigation
Section Navigation
ndarray)
cupy.ufunc)cupy.fft)cupy.linalg)cupy.random)cupy.testing)cupyx.scipy.fft)cupyx.scipy.fftpack)
cupyx.scipy.interpolate)cupyx.scipy.linalg)cupyx.scipy.ndimage)cupyx.scipy.signal)cupyx.scipy.signal.windows)cupyx.scipy.sparse)cupyx.scipy.sparse.linalg)cupyx.scipy.sparse.csgraph)
cupyx.scipy.spatial)
cupyx.scipy.spatial.distance)cupyx.scipy.special)cupyx.scipy.stats)
Calls the current allocator.
Use set_allocator() to change the current allocator.
size (int) – Size of the memory allocation.
Pointer to the allocated buffer.