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
'AI Development > GPU | CUDA | PyCUDA' 카테고리의 다른 글
[PyCUDA] PyCUDA 2019.1.2 소스 빌드하여 설치하기 (0) | 2020.07.13 |
---|---|
[CUDA] CUDA Driver Version (0) | 2020.07.06 |
[GPU] GPU Performance 및 Titan V, RTX 2080 Ti Benchmark (0) | 2020.03.04 |
[CUDA] PyCUDA documentation (0) | 2019.08.04 |
[CUDA] CUDA Capability 확인 (2) | 2019.05.31 |