728x90
반응형

 

 

https://documen.tician.de/pycuda/driver.html

 

Device Interface — PyCUDA 2019.1.2 documentation

Pagelocked Allocation pycuda.driver.pagelocked_empty(shape, dtype, order='C', mem_flags=0) Allocate a pagelocked numpy.ndarray of shape, dtype and order. mem_flags may be one of the values in host_alloc_flags. It may only be non-zero on CUDA 2.2 and newer.

documen.tician.de

https://documen.tician.de/pycuda/array.html#pycuda.gpuarray.GPUArray.squeeze

 

GPU Arrays — PyCUDA 2019.1.2 documentation

All of CUDA’s supported vector types, such as float3 and long4 are available as numpy data types within this class. These numpy.dtype instances have field names of x, y, z, and w just like their CUDA counterparts. They will work both for parameter passin

documen.tician.de

 

728x90
반응형