Package | Description |
---|---|
org.bytedeco.cuda.cudart | |
org.bytedeco.cuda.global |
Modifier and Type | Method and Description |
---|---|
cudaArray |
cudaMemcpy3DPeerParms.dstArray()
Destination memory address
|
cudaArray |
cudaMemcpy3DParms.dstArray()
Destination memory address
|
cudaArray |
cudaResourceDesc.res_array_array()
CUDA array
|
cudaArray |
cudaMemcpy3DPeerParms.srcArray()
Source memory address
|
cudaArray |
cudaMemcpy3DParms.srcArray()
Source memory address
|
Modifier and Type | Method and Description |
---|---|
cudaMemcpy3DPeerParms |
cudaMemcpy3DPeerParms.dstArray(cudaArray setter) |
cudaMemcpy3DParms |
cudaMemcpy3DParms.dstArray(cudaArray setter) |
cudaResourceDesc |
cudaResourceDesc.res_array_array(cudaArray setter) |
cudaMemcpy3DPeerParms |
cudaMemcpy3DPeerParms.srcArray(cudaArray setter) |
cudaMemcpy3DParms |
cudaMemcpy3DParms.srcArray(cudaArray setter) |
Modifier and Type | Method and Description |
---|---|
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.cudaArrayGetMemoryRequirements(cudaArrayMemoryRequirements memoryRequirements,
cudaArray array,
int device)
\brief Returns the memory requirements of a CUDA array
Returns the memory requirements of a CUDA array in \p memoryRequirements
If the CUDA array is not allocated with flag ::cudaArrayDeferredMapping
::cudaErrorInvalidValue will be returned.
|
static int |
cudart.cudaArrayGetPlane(cudaArray pPlaneArray,
cudaArray hArray,
int planeIdx)
\brief Gets a CUDA array plane from a CUDA array
Returns in \p pPlaneArray a CUDA array that represents a single format plane
of the CUDA array \p hArray.
|
static int |
cudart.cudaArrayGetSparseProperties(cudaArraySparseProperties sparseProperties,
cudaArray array)
\brief Returns the layout properties of a sparse CUDA array
Returns the layout properties of a sparse CUDA array in \p sparseProperties.
|
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 src starting at \p hOffsetSrc rows and \p wOffsetSrc bytes from the
upper left corner to the CUDA array \p dst starting at \p hOffsetDst rows
and \p wOffsetDst bytes from the upper left corner, 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 src starting at \p hOffset rows and \p wOffset bytes from the
upper left corner 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 src starting at \p hOffset rows and \p wOffset bytes from the
upper left corner 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
\p hOffset rows and \p wOffset bytes from the upper left corner,
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 \p hOffset
rows and \p wOffset bytes from the upper left corner, 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.
Copies \p count bytes from the CUDA array \p src starting at \p hOffsetSrc
rows and \p wOffsetSrc bytes from the upper left corner to the CUDA array
\p dst starting at \p hOffsetDst rows and \p wOffsetDst bytes from the upper
left corner, where \p kind specifies the direction of the copy, and must be one of
::cudaMemcpyHostToHost, ::cudaMemcpyHostToDevice, ::cudaMemcpyDeviceToHost,
::cudaMemcpyDeviceToDevice, or ::cudaMemcpyDefault. Passing
::cudaMemcpyDefault is recommended, in which case the type of transfer is
inferred from the pointer values. However, ::cudaMemcpyDefault is only
allowed on systems that support unified virtual addressing.
|
static int |
cudart.cudaMemcpyFromArray(Pointer dst,
cudaArray src,
long wOffset,
long hOffset,
long count,
int kind)
Deprecated.
Copies \p count bytes from the CUDA array \p src starting at \p hOffset rows
and \p wOffset bytes from the upper left corner 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. Passing
::cudaMemcpyDefault is recommended, in which case the type of transfer is
inferred from the pointer values. However, ::cudaMemcpyDefault is only
allowed on systems that support unified virtual addressing.
|
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.
Copies \p count bytes from the CUDA array \p src starting at \p hOffset rows
and \p wOffset bytes from the upper left corner 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. Passing
::cudaMemcpyDefault is recommended, in which case the type of transfer is
inferred from the pointer values. However, ::cudaMemcpyDefault is only
allowed on systems that support unified virtual addressing.
::cudaMemcpyFromArrayAsync() is asynchronous with respect to the host, so
the call may return before the copy is complete. The copy can optionally
be associated to a stream by passing a non-zero \p stream argument. If \p
kind is ::cudaMemcpyHostToDevice or ::cudaMemcpyDeviceToHost and \p stream
is non-zero, the copy may overlap with operations in other streams.
|
static int |
cudart.cudaMemcpyToArray(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long count,
int kind)
Deprecated.
Copies \p count bytes from the memory area pointed to by \p src to the
CUDA array \p dst starting at \p hOffset rows and \p wOffset bytes from
the upper left corner, where \p kind specifies the direction
of the copy, and must be one of ::cudaMemcpyHostToHost,
::cudaMemcpyHostToDevice, ::cudaMemcpyDeviceToHost,
::cudaMemcpyDeviceToDevice, or ::cudaMemcpyDefault. Passing
::cudaMemcpyDefault is recommended, in which case the type of transfer is
inferred from the pointer values. However, ::cudaMemcpyDefault is only
allowed on systems that support unified virtual addressing.
|
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.
Copies \p count bytes from the memory area pointed to by \p src to the
CUDA array \p dst starting at \p hOffset rows and \p wOffset bytes from
the upper left corner, where \p kind specifies the
direction of the copy, and must be one of ::cudaMemcpyHostToHost,
::cudaMemcpyHostToDevice, ::cudaMemcpyDeviceToHost,
::cudaMemcpyDeviceToDevice, or ::cudaMemcpyDefault. Passing
::cudaMemcpyDefault is recommended, in which case the type of transfer is
inferred from the pointer values. However, ::cudaMemcpyDefault is only
allowed on systems that support unified virtual addressing.
::cudaMemcpyToArrayAsync() is asynchronous with respect to the host, so
the call may return before the copy is complete. The copy can optionally
be associated to a stream by passing a non-zero \p stream argument. If \p
kind is ::cudaMemcpyHostToDevice or ::cudaMemcpyDeviceToHost and \p stream
is non-zero, the copy may overlap with operations in other streams.
|
Copyright © 2024. All rights reserved.