Package | Description |
---|---|
jcuda.runtime |
Contains the classes related to the JCuda runtime API.
|
Modifier and Type | Field and Description |
---|---|
cudaChannelFormatDesc |
textureReference.channelDesc
Describes the format of the value that is returned when fetching
the texture.
|
cudaChannelFormatDesc |
cudaResourceDesc.linear_desc
Channel descriptor for
cudaResourceType.cudaResourceTypeLinear |
cudaChannelFormatDesc |
cudaResourceDesc.pitch2D_desc
Channel descriptor for
cudaResourceType.cudaResourceTypePitch2D |
Modifier and Type | Method and Description |
---|---|
static cudaChannelFormatDesc |
JCuda.cudaCreateChannelDesc(int x,
int y,
int z,
int w,
int cudaChannelFormatKind_f)
[C++ API] Returns a channel descriptor using the specified format
template < class T > cudaChannelFormatDesc cudaCreateChannelDesc (
void ) [inline]
[C++ API] Returns a channel descriptor
using the specified format Returns a channel descriptor with format
f and number of bits of each component x, y, z, and w.
|
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.cudaBindTexture(long[] offset,
textureReference texref,
Pointer devPtr,
cudaChannelFormatDesc desc,
long size)
Deprecated.
Deprecated as of CUDA 10.1
|
static int |
JCuda.cudaBindTexture2D(long[] offset,
textureReference texref,
Pointer devPtr,
cudaChannelFormatDesc desc,
long width,
long height,
long pitch)
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.cudaBindTextureToMipmappedArray(textureReference texref,
cudaMipmappedArray mipmappedArray,
cudaChannelFormatDesc desc)
Deprecated.
Deprecated as of CUDA 10.1
|
static int |
JCuda.cudaGetChannelDesc(cudaChannelFormatDesc desc,
cudaArray array)
Get the channel descriptor of an array.
|
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.cudaMallocMipmappedArray(cudaMipmappedArray mipmappedArray,
cudaChannelFormatDesc desc,
cudaExtent extent,
int numLevels,
int flags)
Allocate a mipmapped array on the device.
|
Copyright © 2020. All rights reserved.