Package | Description |
---|---|
org.bytedeco.cuda.cudart | |
org.bytedeco.cuda.global |
Modifier and Type | Method and Description |
---|---|
CUarray_st |
CUDA_MEMCPY3D_v2.dstArray()
Destination array reference
|
CUarray_st |
CUDA_MEMCPY2D_v2.dstArray()
Destination array reference
|
CUarray_st |
CUDA_MEMCPY3D_PEER_v1.dstArray()
Destination array reference
|
CUarray_st |
CUDA_RESOURCE_DESC_v1.res_array_hArray()
CUDA array
|
CUarray_st |
CUarrayMapInfo_v1.resource_array() |
CUarray_st |
CUDA_MEMCPY3D_v2.srcArray()
Source array reference
|
CUarray_st |
CUDA_MEMCPY2D_v2.srcArray()
Source array reference
|
CUarray_st |
CUDA_MEMCPY3D_PEER_v1.srcArray()
Source array reference
|
Modifier and Type | Method and Description |
---|---|
CUDA_MEMCPY3D_v2 |
CUDA_MEMCPY3D_v2.dstArray(CUarray_st setter) |
CUDA_MEMCPY2D_v2 |
CUDA_MEMCPY2D_v2.dstArray(CUarray_st setter) |
CUDA_MEMCPY3D_PEER_v1 |
CUDA_MEMCPY3D_PEER_v1.dstArray(CUarray_st setter) |
CUDA_RESOURCE_DESC_v1 |
CUDA_RESOURCE_DESC_v1.res_array_hArray(CUarray_st setter) |
CUarrayMapInfo_v1 |
CUarrayMapInfo_v1.resource_array(CUarray_st setter) |
CUDA_MEMCPY3D_v2 |
CUDA_MEMCPY3D_v2.srcArray(CUarray_st setter) |
CUDA_MEMCPY2D_v2 |
CUDA_MEMCPY2D_v2.srcArray(CUarray_st setter) |
CUDA_MEMCPY3D_PEER_v1 |
CUDA_MEMCPY3D_PEER_v1.srcArray(CUarray_st setter) |
Modifier and Type | Method and Description |
---|---|
static int |
cudart.cuArray3DCreate(CUarray_st pHandle,
CUDA_ARRAY3D_DESCRIPTOR_v2 pAllocateArray)
\brief Creates a 3D CUDA array
Creates a CUDA array according to the ::CUDA_ARRAY3D_DESCRIPTOR structure
\p pAllocateArray and returns a handle to the new CUDA array in \p *pHandle.
|
static int |
cudart.cuArray3DGetDescriptor(CUDA_ARRAY3D_DESCRIPTOR_v2 pArrayDescriptor,
CUarray_st hArray)
\brief Get a 3D CUDA array descriptor
Returns in \p *pArrayDescriptor a descriptor containing information on the
format and dimensions of the CUDA array \p hArray.
|
static int |
cudart.cuArrayCreate(CUarray_st pHandle,
CUDA_ARRAY_DESCRIPTOR_v2 pAllocateArray)
\brief Creates a 1D or 2D CUDA array
Creates a CUDA array according to the ::CUDA_ARRAY_DESCRIPTOR structure
\p pAllocateArray and returns a handle to the new CUDA array in \p *pHandle.
|
static int |
cudart.cuArrayDestroy(CUarray_st hArray)
\brief Destroys a CUDA array
Destroys the CUDA array \p hArray.
|
static int |
cudart.cuArrayGetDescriptor(CUDA_ARRAY_DESCRIPTOR_v2 pArrayDescriptor,
CUarray_st hArray)
\brief Get a 1D or 2D CUDA array descriptor
Returns in \p *pArrayDescriptor a descriptor containing information on the
format and dimensions of the CUDA array \p hArray.
|
static int |
cudart.cuArrayGetMemoryRequirements(CUDA_ARRAY_MEMORY_REQUIREMENTS_v1 memoryRequirements,
CUarray_st 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 ::CUDA_ARRAY3D_DEFERRED_MAPPING
::CUDA_ERROR_INVALID_VALUE will be returned.
|
static int |
cudart.cuArrayGetPlane(CUarray_st pPlaneArray,
CUarray_st 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.cuArrayGetSparseProperties(CUDA_ARRAY_SPARSE_PROPERTIES_v1 sparseProperties,
CUarray_st array)
\brief Returns the layout properties of a sparse CUDA array
Returns the layout properties of a sparse CUDA array in \p sparseProperties
If the CUDA array is not allocated with flag ::CUDA_ARRAY3D_SPARSE
::CUDA_ERROR_INVALID_VALUE will be returned.
|
static int |
cudart.cuGraphicsSubResourceGetMappedArray(CUarray_st pArray,
CUgraphicsResource_st resource,
int arrayIndex,
int mipLevel)
\brief Get an array through which to access a subresource of a mapped graphics resource.
|
static int |
cudart.cuMemcpyAtoA(CUarray_st dstArray,
long dstOffset,
CUarray_st srcArray,
long srcOffset,
long ByteCount)
\brief Copies memory from Array to Array
Copies from one 1D CUDA array to another.
|
static int |
cudart.cuMemcpyAtoD(long dstDevice,
CUarray_st srcArray,
long srcOffset,
long ByteCount)
\brief Copies memory from Array to Device
Copies from one 1D CUDA array to device memory.
|
static int |
cudart.cuMemcpyAtoH(Pointer dstHost,
CUarray_st srcArray,
long srcOffset,
long ByteCount)
\brief Copies memory from Array to Host
Copies from one 1D CUDA array to host memory.
|
static int |
cudart.cuMemcpyAtoHAsync(Pointer dstHost,
CUarray_st srcArray,
long srcOffset,
long ByteCount,
CUstream_st hStream)
\brief Copies memory from Array to Host
Copies from one 1D CUDA array to host memory.
|
static int |
cudart.cuMemcpyDtoA(CUarray_st dstArray,
long dstOffset,
long srcDevice,
long ByteCount)
\brief Copies memory from Device to Array
Copies from device memory to a 1D CUDA array.
|
static int |
cudart.cuMemcpyHtoA(CUarray_st dstArray,
long dstOffset,
Pointer srcHost,
long ByteCount)
\brief Copies memory from Host to Array
Copies from host memory to a 1D CUDA array.
|
static int |
cudart.cuMemcpyHtoAAsync(CUarray_st dstArray,
long dstOffset,
Pointer srcHost,
long ByteCount,
CUstream_st hStream)
\brief Copies memory from Host to Array
Copies from host memory to a 1D CUDA array.
|
static int |
cudart.cuMipmappedArrayGetLevel(CUarray_st pLevelArray,
CUmipmappedArray_st hMipmappedArray,
int level)
\brief Gets a mipmap level of a CUDA mipmapped array
Returns in \p *pLevelArray a CUDA array that represents a single mipmap level
of the CUDA mipmapped array \p hMipmappedArray.
|
static int |
cudart.cuSurfRefGetArray(CUarray_st phArray,
CUsurfref_st hSurfRef)
Deprecated.
Returns in \p *phArray the CUDA array bound to the surface reference
\p hSurfRef, or returns ::CUDA_ERROR_INVALID_VALUE if the surface reference
is not bound to any CUDA array.
|
static int |
cudart.cuSurfRefSetArray(CUsurfref_st hSurfRef,
CUarray_st hArray,
int Flags)
Deprecated.
Sets the CUDA array \p hArray to be read and written by the surface reference
\p hSurfRef. Any previous CUDA array state associated with the surface
reference is superseded by this function. \p Flags must be set to 0.
The ::CUDA_ARRAY3D_SURFACE_LDST flag must have been set for the CUDA array.
Any CUDA array previously bound to \p hSurfRef is unbound.
|
static int |
cudart.cuTexRefGetArray(CUarray_st phArray,
CUtexref_st hTexRef)
Deprecated.
Returns in \p *phArray the CUDA array bound to the texture reference
\p hTexRef, or returns ::CUDA_ERROR_INVALID_VALUE if the texture reference
is not bound to any CUDA array.
|
static int |
cudart.cuTexRefSetArray(CUtexref_st hTexRef,
CUarray_st hArray,
int Flags)
Deprecated.
Binds the CUDA array \p hArray to the texture reference \p hTexRef. Any
previous address or CUDA array state associated with the texture reference
is superseded by this function. \p Flags must be set to
::CU_TRSA_OVERRIDE_FORMAT. Any CUDA array previously bound to \p hTexRef is
unbound.
|
Copyright © 2024. All rights reserved.