Package | Description |
---|---|
jcuda.runtime |
Contains the classes related to the JCuda runtime API.
|
Modifier and Type | Method and Description |
---|---|
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.cudaGetTextureAlignmentOffset(long[] offset,
textureReference texref)
[C++ API] Get the alignment offset of a texture
template < class T, int dim, enum cudaTextureReadMode readMode >
cudaError_t cudaGetTextureAlignmentOffset (
size_t* offset,
const texture < T,
dim,
readMode > & tex ) [inline]
[C++ API] Get the alignment offset of a
texture Returns in *offset the offset that was returned when
texture reference tex was bound.
|
static int |
JCuda.cudaGetTextureReference(textureReference texref,
String symbol)
Get the texture reference associated with a symbol.
|
static int |
JCuda.cudaUnbindTexture(textureReference texref)
[C++ API] Unbinds a texture
template < class T, int dim, enum cudaTextureReadMode readMode >
cudaError_t cudaUnbindTexture (
const texture < T,
dim,
readMode > & tex ) [inline]
[C++ API] Unbinds a texture Unbinds the
texture bound to tex.
|
Copyright © 2015. All rights reserved.