| Package | Description |
|---|---|
| org.bytedeco.cuda.cudart | |
| org.bytedeco.cuda.global |
| Modifier and Type | Method and Description |
|---|---|
textureReference |
textureReference.__cudaReserved(int i,
int setter) |
textureReference |
textureReference.addressMode(int i,
int setter) |
textureReference |
textureReference.channelDesc(cudaChannelFormatDesc setter) |
textureReference |
textureReference.disableTrilinearOptimization(int setter) |
textureReference |
textureReference.filterMode(int setter) |
textureReference |
textureReference.getPointer(long i) |
textureReference |
textureReference.maxAnisotropy(int setter) |
textureReference |
textureReference.maxMipmapLevelClamp(float setter) |
textureReference |
textureReference.minMipmapLevelClamp(float setter) |
textureReference |
textureReference.mipmapFilterMode(int setter) |
textureReference |
textureReference.mipmapLevelBias(float setter) |
textureReference |
textureReference.normalized(int setter) |
textureReference |
textureReference.position(long position) |
textureReference |
textureReference.sRGB(int setter) |
| Modifier and Type | Method and Description |
|---|---|
static int |
cudart.cudaBindTexture(SizeTPointer offset,
textureReference texref,
Pointer devPtr,
cudaChannelFormatDesc desc)
Deprecated.
|
static int |
cudart.cudaBindTexture(SizeTPointer offset,
textureReference texref,
Pointer devPtr,
cudaChannelFormatDesc desc,
long size)
Deprecated.
Binds \p size bytes of the memory area pointed to by \p devPtr to the
texture reference \p texref. \p desc describes how the memory is interpreted
when fetching values from the texture. Any memory previously bound to
\p texref is unbound.
Since the hardware enforces an alignment requirement on texture base
addresses,
\ref ::cudaBindTexture(size_t*, const struct textureReference*, const void*, const struct cudaChannelFormatDesc*, size_t) "cudaBindTexture()"
returns in \p *offset a byte offset that
must be applied to texture fetches in order to read from the desired memory.
This offset must be divided by the texel size and passed to kernels that
read from the texture so they can be applied to the ::tex1Dfetch() function.
If the device memory pointer was returned from ::cudaMalloc(), the offset is
guaranteed to be 0 and NULL may be passed as the \p offset parameter.
The total number of elements (or texels) in the linear address range
cannot exceed ::cudaDeviceProp::maxTexture1DLinear[0].
The number of elements is computed as (\p size / elementSize),
where elementSize is determined from \p desc.
|
static int |
cudart.cudaBindTexture2D(SizeTPointer offset,
textureReference texref,
Pointer devPtr,
cudaChannelFormatDesc desc,
long width,
long height,
long pitch)
Deprecated.
Binds the 2D memory area pointed to by \p devPtr to the
texture reference \p texref. The size of the area is constrained by
\p width in texel units, \p height in texel units, and \p pitch in byte
units. \p desc describes how the memory is interpreted when fetching values
from the texture. Any memory previously bound to \p texref is unbound.
Since the hardware enforces an alignment requirement on texture base
addresses, ::cudaBindTexture2D() returns in \p *offset a byte offset that
must be applied to texture fetches in order to read from the desired memory.
This offset must be divided by the texel size and passed to kernels that
read from the texture so they can be applied to the ::tex2D() function.
If the device memory pointer was returned from ::cudaMalloc(), the offset is
guaranteed to be 0 and NULL may be passed as the \p offset parameter.
\p width and \p height, which are specified in elements (or texels), cannot
exceed ::cudaDeviceProp::maxTexture2DLinear[0] and ::cudaDeviceProp::maxTexture2DLinear[1]
respectively. \p pitch, which is specified in bytes, cannot exceed
::cudaDeviceProp::maxTexture2DLinear[2].
The driver returns ::cudaErrorInvalidValue if \p pitch is not a multiple of
::cudaDeviceProp::texturePitchAlignment.
|
static int |
cudart.cudaBindTextureToArray(textureReference texref,
cudaArray array,
cudaChannelFormatDesc desc)
Deprecated.
Binds the CUDA array \p array to the texture reference \p texref.
\p desc describes how the memory is interpreted when fetching values from
the texture. Any CUDA array previously bound to \p texref is unbound.
|
static int |
cudart.cudaBindTextureToMipmappedArray(textureReference texref,
cudaMipmappedArray mipmappedArray,
cudaChannelFormatDesc desc)
Deprecated.
Binds the CUDA mipmapped array \p mipmappedArray to the texture reference \p texref.
\p desc describes how the memory is interpreted when fetching values from
the texture. Any CUDA mipmapped array previously bound to \p texref is unbound.
|
static int |
cudart.cudaGetTextureAlignmentOffset(SizeTPointer offset,
textureReference texref)
Deprecated.
Returns in \p *offset the offset that was returned when texture reference
\p texref was bound.
|
static int |
cudart.cudaGetTextureReference(textureReference texref,
Pointer symbol)
Deprecated.
|
static int |
cudart.cudaUnbindTexture(textureReference texref)
Deprecated.
Unbinds the texture bound to \p texref. If \p texref is not currently bound, no operation is performed.
|
Copyright © 2020. All rights reserved.