static int |
cudart.cudaArrayGetInfo(cudaChannelFormatDesc desc,
cudaExtent extent,
int[] flags,
cudaArray array) |
|
static int |
cudart.cudaArrayGetInfo(cudaChannelFormatDesc desc,
cudaExtent extent,
IntBuffer flags,
cudaArray array) |
|
static int |
cudart.cudaArrayGetInfo(cudaChannelFormatDesc desc,
cudaExtent extent,
IntPointer flags,
cudaArray array) |
\brief Gets info about the specified cudaArray
Returns in \p *desc, \p *extent and \p *flags respectively, the type, shape
and flags of \p array.
|
static int |
cudart.cudaBindSurfaceToArray(surfaceReference surfref,
cudaArray array,
cudaChannelFormatDesc desc) |
Deprecated.
|
static int |
cudart.cudaBindTextureToArray(textureReference texref,
cudaArray array,
cudaChannelFormatDesc desc) |
Deprecated.
|
static int |
cudart.cudaFreeArray(cudaArray array) |
\brief Frees an array on the device
Frees the CUDA array \p array, which must have been returned by a
previous call to ::cudaMallocArray().
|
static int |
cudart.cudaGetChannelDesc(cudaChannelFormatDesc desc,
cudaArray array) |
\brief Get the channel descriptor of an array
Returns in \p *desc the channel descriptor of the CUDA array \p array.
|
static int |
cudart.cudaGetMipmappedArrayLevel(cudaArray levelArray,
cudaMipmappedArray mipmappedArray,
int level) |
\brief Gets a mipmap level of a CUDA mipmapped array
Returns in \p *levelArray a CUDA array that represents a single mipmap level
of the CUDA mipmapped array \p mipmappedArray.
|
static int |
cudart.cudaGraphicsSubResourceGetMappedArray(cudaArray array,
cudaGraphicsResource resource,
int arrayIndex,
int mipLevel) |
\brief Get an array through which to access a subresource of a mapped graphics resource.
|
static int |
cudart.cudaMalloc3DArray(cudaArray array,
cudaChannelFormatDesc desc,
cudaExtent extent) |
|
static int |
cudart.cudaMalloc3DArray(cudaArray array,
cudaChannelFormatDesc desc,
cudaExtent extent,
int flags) |
\brief Allocate an array on the device
Allocates a CUDA array according to the ::cudaChannelFormatDesc structure
\p desc and returns a handle to the new CUDA array in \p *array.
|
static int |
cudart.cudaMallocArray(cudaArray array,
cudaChannelFormatDesc desc,
long width) |
|
static int |
cudart.cudaMallocArray(cudaArray array,
cudaChannelFormatDesc desc,
long width,
long height,
int flags) |
\brief Allocate an array on the device
Allocates a CUDA array according to the ::cudaChannelFormatDesc structure
\p desc and returns a handle to the new CUDA array in \p *array.
|
static int |
cudart.cudaMemcpy2DArrayToArray(cudaArray dst,
long wOffsetDst,
long hOffsetDst,
cudaArray src,
long wOffsetSrc,
long hOffsetSrc,
long width,
long height) |
|
static int |
cudart.cudaMemcpy2DArrayToArray(cudaArray dst,
long wOffsetDst,
long hOffsetDst,
cudaArray src,
long wOffsetSrc,
long hOffsetSrc,
long width,
long height,
int kind) |
\brief Copies data between host and device
Copies a matrix (\p height rows of \p width bytes each) from the CUDA
array \p srcArray starting at the upper left corner
(\p wOffsetSrc, \p hOffsetSrc) to the CUDA array \p dst starting at
the upper left corner (\p wOffsetDst, \p hOffsetDst), where \p kind
specifies the direction of the copy, and must be one of
::cudaMemcpyHostToHost, ::cudaMemcpyHostToDevice, ::cudaMemcpyDeviceToHost,
::cudaMemcpyDeviceToDevice, or ::cudaMemcpyDefault.
|
static int |
cudart.cudaMemcpy2DFromArray(Pointer dst,
long dpitch,
cudaArray src,
long wOffset,
long hOffset,
long width,
long height,
int kind) |
\brief Copies data between host and device
Copies a matrix (\p height rows of \p width bytes each) from the CUDA
array \p srcArray starting at the upper left corner
(\p wOffset, \p hOffset) to the memory area pointed to by \p dst, where
\p kind specifies the direction of the copy, and must be one of
::cudaMemcpyHostToHost, ::cudaMemcpyHostToDevice, ::cudaMemcpyDeviceToHost,
::cudaMemcpyDeviceToDevice, or ::cudaMemcpyDefault.
|
static int |
cudart.cudaMemcpy2DFromArrayAsync(Pointer dst,
long dpitch,
cudaArray src,
long wOffset,
long hOffset,
long width,
long height,
int kind) |
|
static int |
cudart.cudaMemcpy2DFromArrayAsync(Pointer dst,
long dpitch,
cudaArray src,
long wOffset,
long hOffset,
long width,
long height,
int kind,
CUstream_st stream) |
\brief Copies data between host and device
Copies a matrix (\p height rows of \p width bytes each) from the CUDA
array \p srcArray starting at the upper left corner
(\p wOffset, \p hOffset) to the memory area pointed to by \p dst, where
\p kind specifies the direction of the copy, and must be one of
::cudaMemcpyHostToHost, ::cudaMemcpyHostToDevice, ::cudaMemcpyDeviceToHost,
::cudaMemcpyDeviceToDevice, or ::cudaMemcpyDefault.
|
static int |
cudart.cudaMemcpy2DToArray(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long spitch,
long width,
long height,
int kind) |
\brief Copies data between host and device
Copies a matrix (\p height rows of \p width bytes each) from the memory
area pointed to by \p src to the CUDA array \p dst starting at the
upper left corner (\p wOffset, \p hOffset) where \p kind specifies the
direction of the copy, and must be one of ::cudaMemcpyHostToHost,
::cudaMemcpyHostToDevice, ::cudaMemcpyDeviceToHost,
::cudaMemcpyDeviceToDevice, or ::cudaMemcpyDefault.
|
static int |
cudart.cudaMemcpy2DToArrayAsync(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long spitch,
long width,
long height,
int kind) |
|
static int |
cudart.cudaMemcpy2DToArrayAsync(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long spitch,
long width,
long height,
int kind,
CUstream_st stream) |
\brief Copies data between host and device
Copies a matrix (\p height rows of \p width bytes each) from the memory
area pointed to by \p src to the CUDA array \p dst starting at the
upper left corner (\p wOffset, \p hOffset) where \p kind specifies the
direction of the copy, and must be one of ::cudaMemcpyHostToHost,
::cudaMemcpyHostToDevice, ::cudaMemcpyDeviceToHost,
::cudaMemcpyDeviceToDevice, or ::cudaMemcpyDefault.
|
static int |
cudart.cudaMemcpyArrayToArray(cudaArray dst,
long wOffsetDst,
long hOffsetDst,
cudaArray src,
long wOffsetSrc,
long hOffsetSrc,
long count) |
Deprecated.
|
static int |
cudart.cudaMemcpyArrayToArray(cudaArray dst,
long wOffsetDst,
long hOffsetDst,
cudaArray src,
long wOffsetSrc,
long hOffsetSrc,
long count,
int kind) |
Deprecated.
|
static int |
cudart.cudaMemcpyFromArray(Pointer dst,
cudaArray src,
long wOffset,
long hOffset,
long count,
int kind) |
Deprecated.
|
static int |
cudart.cudaMemcpyFromArrayAsync(Pointer dst,
cudaArray src,
long wOffset,
long hOffset,
long count,
int kind) |
Deprecated.
|
static int |
cudart.cudaMemcpyFromArrayAsync(Pointer dst,
cudaArray src,
long wOffset,
long hOffset,
long count,
int kind,
CUstream_st stream) |
Deprecated.
|
static int |
cudart.cudaMemcpyToArray(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long count,
int kind) |
Deprecated.
|
static int |
cudart.cudaMemcpyToArrayAsync(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long count,
int kind) |
Deprecated.
|
static int |
cudart.cudaMemcpyToArrayAsync(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long count,
int kind,
CUstream_st stream) |
Deprecated.
|