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)
[C++ API] Binds an array to a surface
template < class T, int dim > cudaError_t cudaBindSurfaceToArray (
const surface < T,
dim > & surf,
cudaArray_const_t array,
const cudaChannelFormatDesc& desc ) [inline]
[C++ API] Binds an array to a surface
Binds the CUDA array array to the surface reference surf.
|
static int |
JCuda.cudaBindTexture(long[] offset,
textureReference texref,
Pointer devPtr,
cudaChannelFormatDesc desc,
long size)
[C++ API] Binds a memory area to a texture
template < class T, int dim, enum cudaTextureReadMode readMode >
cudaError_t cudaBindTexture (
size_t* offset,
const texture < T,
dim,
readMode > & tex,
const void* devPtr,
const cudaChannelFormatDesc& desc,
size_t size = UINT_MAX ) [inline]
[C++ API] Binds a memory area to a
texture Binds size bytes of the memory area pointed to by
devPtr to texture reference tex.
|
static int |
JCuda.cudaBindTexture2D(long[] offset,
textureReference texref,
Pointer devPtr,
cudaChannelFormatDesc desc,
long width,
long height,
long pitch)
[C++ API] Binds a 2D memory area to a texture
template < class T, int dim, enum cudaTextureReadMode readMode >
cudaError_t cudaBindTexture2D (
size_t* offset,
const texture < T,
dim,
readMode > & tex,
const void* devPtr,
const cudaChannelFormatDesc& desc,
size_t width,
size_t height,
size_t pitch ) [inline]
[C++ API] Binds a 2D memory area to a
texture Binds the 2D memory area pointed to by devPtr to
the texture reference tex.
|
static int |
JCuda.cudaBindTextureToArray(textureReference texref,
cudaArray array,
cudaChannelFormatDesc desc)
[C++ API] Binds an array to a texture
template < class T, int dim, enum cudaTextureReadMode readMode >
cudaError_t cudaBindTextureToArray (
const texture < T,
dim,
readMode > & tex,
cudaArray_const_t array,
const cudaChannelFormatDesc& desc ) [inline]
[C++ API] Binds an array to a texture
Binds the CUDA array array to the texture reference tex.
|
static int |
JCuda.cudaBindTextureToMipmappedArray(textureReference texref,
cudaMipmappedArray mipmappedArray,
cudaChannelFormatDesc desc)
[C++ API] Binds a mipmapped array to a texture
template < class T, int dim, enum cudaTextureReadMode readMode >
cudaError_t cudaBindTextureToMipmappedArray (
const texture < T,
dim,
readMode > & tex,
cudaMipmappedArray_const_t mipmappedArray,
const cudaChannelFormatDesc& desc ) [inline]
[C++ API] Binds a mipmapped array to a
texture Binds the CUDA mipmapped array mipmappedArray to
the texture reference tex.
|
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 © 2016. All rights reserved.