Package | Description |
---|---|
jcuda.driver |
Contains the classes related to the JCuda driver API.
|
jcuda.runtime |
Contains the classes related to the JCuda runtime API.
|
Modifier and Type | Field and Description |
---|---|
CUarray |
CUDA_RESOURCE_DESC.array_hArray
CUDA array for
CUresourcetype.CU_RESOURCE_TYPE_ARRAY |
CUarray |
CUDA_MEMCPY3D_PEER.dstArray
The destination array.
|
CUarray |
CUDA_MEMCPY3D.dstArray
The destination array.
|
CUarray |
CUDA_MEMCPY2D.dstArray
The destination array.
|
CUarray |
CUDA_MEMCPY3D_PEER.srcArray
The source array.
|
CUarray |
CUDA_MEMCPY3D.srcArray
The source array.
|
CUarray |
CUDA_MEMCPY2D.srcArray
The source array.
|
Modifier and Type | Method and Description |
---|---|
static int |
JCudaDriver.cuArray3DCreate(CUarray pHandle,
CUDA_ARRAY3D_DESCRIPTOR pAllocateArray)
Creates a 3D CUDA array.
|
static int |
JCudaDriver.cuArray3DGetDescriptor(CUDA_ARRAY3D_DESCRIPTOR pArrayDescriptor,
CUarray hArray)
Get a 3D CUDA array descriptor.
|
static int |
JCudaDriver.cuArrayCreate(CUarray pHandle,
CUDA_ARRAY_DESCRIPTOR pAllocateArray)
Creates a 1D or 2D CUDA array.
|
static int |
JCudaDriver.cuArrayDestroy(CUarray hArray)
Destroys a CUDA array.
|
static int |
JCudaDriver.cuArrayGetDescriptor(CUDA_ARRAY_DESCRIPTOR pArrayDescriptor,
CUarray hArray)
Get a 1D or 2D CUDA array descriptor.
|
static int |
JCudaDriver.cuGraphicsSubResourceGetMappedArray(CUarray pArray,
CUgraphicsResource resource,
int arrayIndex,
int mipLevel)
Get an array through which to access a subresource of a mapped graphics resource.
|
static int |
JCudaDriver.cuMemcpyAtoA(CUarray dstArray,
long dstIndex,
CUarray srcArray,
long srcIndex,
long ByteCount)
Copies memory from Array to Array.
|
static int |
JCudaDriver.cuMemcpyAtoD(CUdeviceptr dstDevice,
CUarray hSrc,
long SrcIndex,
long ByteCount)
Copies memory from Array to Device.
|
static int |
JCudaDriver.cuMemcpyAtoH(Pointer dstHost,
CUarray srcArray,
long srcIndex,
long ByteCount)
Copies memory from Array to Host.
|
static int |
JCudaDriver.cuMemcpyAtoHAsync(Pointer dstHost,
CUarray srcArray,
long srcIndex,
long ByteCount,
CUstream hStream)
Copies memory from Array to Host.
|
static int |
JCudaDriver.cuMemcpyDtoA(CUarray dstArray,
long dstIndex,
CUdeviceptr srcDevice,
long ByteCount)
Copies memory from Device to Array.
|
static int |
JCudaDriver.cuMemcpyHtoA(CUarray dstArray,
long dstIndex,
Pointer pSrc,
long ByteCount)
Copies memory from Host to Array.
|
static int |
JCudaDriver.cuMemcpyHtoAAsync(CUarray dstArray,
long dstIndex,
Pointer pSrc,
long ByteCount,
CUstream hStream)
Copies memory from Host to Array.
|
static int |
JCudaDriver.cuMipmappedArrayGetLevel(CUarray pLevelArray,
CUmipmappedArray hMipmappedArray,
int level)
Gets a mipmap level of a CUDA mipmapped array.
|
static int |
JCudaDriver.cuSurfRefGetArray(CUarray phArray,
CUsurfref hSurfRef)
Deprecated.
Deprecated as of CUDA 10.1
|
static int |
JCudaDriver.cuSurfRefSetArray(CUsurfref hSurfRef,
CUarray hArray,
int Flags)
Deprecated.
Deprecated as of CUDA 10.1
|
static int |
JCudaDriver.cuTexRefGetArray(CUarray phArray,
CUtexref hTexRef)
Deprecated.
Deprecated as of CUDA 10.1
|
static int |
JCudaDriver.cuTexRefSetArray(CUtexref hTexRef,
CUarray hArray,
int Flags)
Deprecated.
Deprecated as of CUDA 10.1
|
Constructor and Description |
---|
cudaArray(CUarray array)
Creates a cudaArray for the given
CUarray . |
Copyright © 2020. All rights reserved.