Package | Description |
---|---|
jcuda.driver |
Contains the classes related to the JCuda driver API.
|
jcuda.runtime |
Contains the classes related to the JCuda runtime API.
|
Constructor and Description |
---|
CUarray(cudaArray array)
Creates a CUarray for the given
cudaArray . |
Modifier and Type | Field and Description |
---|---|
cudaArray |
cudaResourceDesc.array_array
CUDA array for
cudaResourceType.cudaResourceTypeArray |
cudaArray |
cudaMemcpy3DPeerParms.dstArray
The destination array.
|
cudaArray |
cudaMemcpy3DParms.dstArray
The destination array.
|
cudaArray |
cudaMemcpy3DPeerParms.srcArray
The source array.
|
cudaArray |
cudaMemcpy3DParms.srcArray
The source array.
|
Modifier and Type | Method and Description |
---|---|
static int |
JCuda.cudaArrayGetInfo(cudaChannelFormatDesc desc,
cudaExtent extent,
int[] flags,
cudaArray array)
Gets info about the specified cudaArray.
|
static int |
JCuda.cudaBindSurfaceToArray(surfaceReference surfref,
cudaArray array,
cudaChannelFormatDesc desc)
Deprecated.
Deprecated as of CUDA 10.1
|
static int |
JCuda.cudaBindTextureToArray(textureReference texref,
cudaArray array,
cudaChannelFormatDesc desc)
Deprecated.
Deprecated as of CUDA 10.1
|
static int |
JCuda.cudaFreeArray(cudaArray array)
Frees an array on the device.
|
static int |
JCuda.cudaGetChannelDesc(cudaChannelFormatDesc desc,
cudaArray array)
Get the channel descriptor of an array.
|
static int |
JCuda.cudaGetMipmappedArrayLevel(cudaArray levelArray,
cudaMipmappedArray mipmappedArray,
int level)
Gets a mipmap level of a CUDA mipmapped array.
|
static int |
JCuda.cudaGraphicsSubResourceGetMappedArray(cudaArray arrayPtr,
cudaGraphicsResource resource,
int arrayIndex,
int mipLevel)
Get an array through which to access a subresource of a mapped graphics resource.
|
static int |
JCuda.cudaMalloc3DArray(cudaArray arrayPtr,
cudaChannelFormatDesc desc,
cudaExtent extent)
Allocate an array on the device.
|
static int |
JCuda.cudaMalloc3DArray(cudaArray arrayPtr,
cudaChannelFormatDesc desc,
cudaExtent extent,
int flags)
Allocate an array on the device.
|
static int |
JCuda.cudaMallocArray(cudaArray array,
cudaChannelFormatDesc desc,
long width,
long height)
Allocate an array on the device.
|
static int |
JCuda.cudaMallocArray(cudaArray array,
cudaChannelFormatDesc desc,
long width,
long height,
int flags)
Allocate an array on the device.
|
static int |
JCuda.cudaMemcpy2DArrayToArray(cudaArray dst,
long wOffsetDst,
long hOffsetDst,
cudaArray src,
long wOffsetSrc,
long hOffsetSrc,
long width,
long height,
int cudaMemcpyKind_kind)
Copies data between host and device.
|
static int |
JCuda.cudaMemcpy2DFromArray(Pointer dst,
long dpitch,
cudaArray src,
long wOffset,
long hOffset,
long width,
long height,
int cudaMemcpyKind_kind)
Copies data between host and device.
|
static int |
JCuda.cudaMemcpy2DFromArrayAsync(Pointer dst,
long dpitch,
cudaArray src,
long wOffset,
long hOffset,
long width,
long height,
int cudaMemcpyKind_kind,
cudaStream_t stream)
Copies data between host and device.
|
static int |
JCuda.cudaMemcpy2DToArray(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long spitch,
long width,
long height,
int cudaMemcpyKind_kind)
Copies data between host and device.
|
static int |
JCuda.cudaMemcpy2DToArrayAsync(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long spitch,
long width,
long height,
int cudaMemcpyKind_kind,
cudaStream_t stream)
Copies data between host and device.
|
static int |
JCuda.cudaMemcpyArrayToArray(cudaArray dst,
long wOffsetDst,
long hOffsetDst,
cudaArray src,
long wOffsetSrc,
long hOffsetSrc,
long count,
int cudaMemcpyKind_kind)
Deprecated.
Deprecated as of CUDA 10.1
|
static int |
JCuda.cudaMemcpyFromArray(Pointer dst,
cudaArray src,
long wOffset,
long hOffset,
long count,
int cudaMemcpyKind_kind)
Deprecated.
Deprecated as of CUDA 10.1
|
static int |
JCuda.cudaMemcpyFromArrayAsync(Pointer dst,
cudaArray src,
long wOffset,
long hOffset,
long count,
int cudaMemcpyKind_kind,
cudaStream_t stream)
Deprecated.
Deprecated as of CUDA 10.1
|
static int |
JCuda.cudaMemcpyToArray(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long count,
int cudaMemcpyKind_kind)
Deprecated.
Deprecated as of CUDA 10.1
|
static int |
JCuda.cudaMemcpyToArrayAsync(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long count,
int cudaMemcpyKind_kind,
cudaStream_t stream)
Deprecated.
Deprecated as of CUDA 10.1
|
Copyright © 2020. All rights reserved.