| Package | Description |
|---|---|
| org.bytedeco.cuda.global |
| Modifier and Type | Method and Description |
|---|---|
static int |
cudart.cuModuleGetTexRef(CUtexref_st pTexRef,
CUmod_st hmod,
BytePointer name)
\brief Returns a handle to a texture reference
Returns in \p *pTexRef the handle of the texture reference of name \p name
in the module \p hmod.
|
static int |
cudart.cuModuleGetTexRef(CUtexref_st pTexRef,
CUmod_st hmod,
String name) |
static int |
cudart.cuParamSetTexRef(CUfunc_st hfunc,
int texunit,
CUtexref_st hTexRef)
Deprecated.
Makes the CUDA array or linear memory bound to the texture reference
\p hTexRef available to a device program as a texture. In this version of
CUDA, the texture-reference must be obtained via ::cuModuleGetTexRef() and
the \p texunit parameter must be set to ::CU_PARAM_TR_DEFAULT.
|
static int |
cudart.cuTexRefCreate(CUtexref_st pTexRef)
Deprecated.
Creates a texture reference and returns its handle in \p *pTexRef. Once
created, the application must call ::cuTexRefSetArray() or
::cuTexRefSetAddress() to associate the reference with allocated memory.
Other texture reference functions are used to specify the format and
interpretation (addressing, filtering, etc.) to be used when the memory is
read through this texture reference.
|
static int |
cudart.cuTexRefDestroy(CUtexref_st hTexRef)
Deprecated.
Destroys the texture reference specified by \p hTexRef.
|
static int |
cudart.cuTexRefGetAddress(long[] pdptr,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetAddress(LongBuffer pdptr,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetAddress(LongPointer pdptr,
CUtexref_st hTexRef)
\brief Gets the address associated with a texture reference
Returns in \p *pdptr the base address bound to the texture reference
\p hTexRef, or returns ::CUDA_ERROR_INVALID_VALUE if the texture reference
is not bound to any device memory range.
|
static int |
cudart.cuTexRefGetAddressMode(int[] pam,
CUtexref_st hTexRef,
int dim) |
static int |
cudart.cuTexRefGetAddressMode(IntBuffer pam,
CUtexref_st hTexRef,
int dim) |
static int |
cudart.cuTexRefGetAddressMode(IntPointer pam,
CUtexref_st hTexRef,
int dim)
\brief Gets the addressing mode used by a texture reference
Returns in \p *pam the addressing mode corresponding to the
dimension \p dim of the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefGetArray(CUarray_st phArray,
CUtexref_st hTexRef)
\brief Gets the array bound to a texture reference
Returns in \p *phArray the CUDA array bound to the texture reference
\p hTexRef, or returns ::CUDA_ERROR_INVALID_VALUE if the texture reference
is not bound to any CUDA array.
|
static int |
cudart.cuTexRefGetBorderColor(float[] pBorderColor,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetBorderColor(FloatBuffer pBorderColor,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetBorderColor(FloatPointer pBorderColor,
CUtexref_st hTexRef)
\brief Gets the border color used by a texture reference
Returns in \p pBorderColor, values of the RGBA color used by
the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefGetFilterMode(int[] pfm,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetFilterMode(IntBuffer pfm,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetFilterMode(IntPointer pfm,
CUtexref_st hTexRef)
\brief Gets the filter-mode used by a texture reference
Returns in \p *pfm the filtering mode of the texture reference
\p hTexRef.
|
static int |
cudart.cuTexRefGetFlags(int[] pFlags,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetFlags(IntBuffer pFlags,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetFlags(IntPointer pFlags,
CUtexref_st hTexRef)
\brief Gets the flags used by a texture reference
Returns in \p *pFlags the flags of the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefGetFormat(int[] pFormat,
int[] pNumChannels,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetFormat(IntBuffer pFormat,
IntBuffer pNumChannels,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetFormat(IntPointer pFormat,
IntPointer pNumChannels,
CUtexref_st hTexRef)
\brief Gets the format used by a texture reference
Returns in \p *pFormat and \p *pNumChannels the format and number
of components of the CUDA array bound to the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefGetMaxAnisotropy(int[] pmaxAniso,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetMaxAnisotropy(IntBuffer pmaxAniso,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetMaxAnisotropy(IntPointer pmaxAniso,
CUtexref_st hTexRef)
\brief Gets the maximum anisotropy for a texture reference
Returns the maximum anisotropy in \p pmaxAniso that's used when reading memory through
the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefGetMipmapFilterMode(int[] pfm,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetMipmapFilterMode(IntBuffer pfm,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetMipmapFilterMode(IntPointer pfm,
CUtexref_st hTexRef)
\brief Gets the mipmap filtering mode for a texture reference
Returns the mipmap filtering mode in \p pfm that's used when reading memory through
the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefGetMipmapLevelBias(float[] pbias,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetMipmapLevelBias(FloatBuffer pbias,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetMipmapLevelBias(FloatPointer pbias,
CUtexref_st hTexRef)
\brief Gets the mipmap level bias for a texture reference
Returns the mipmap level bias in \p pBias that's added to the specified mipmap
level when reading memory through the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefGetMipmapLevelClamp(float[] pminMipmapLevelClamp,
float[] pmaxMipmapLevelClamp,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetMipmapLevelClamp(FloatBuffer pminMipmapLevelClamp,
FloatBuffer pmaxMipmapLevelClamp,
CUtexref_st hTexRef) |
static int |
cudart.cuTexRefGetMipmapLevelClamp(FloatPointer pminMipmapLevelClamp,
FloatPointer pmaxMipmapLevelClamp,
CUtexref_st hTexRef)
\brief Gets the min/max mipmap level clamps for a texture reference
Returns the min/max mipmap level clamps in \p pminMipmapLevelClamp and \p pmaxMipmapLevelClamp
that's used when reading memory through the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefGetMipmappedArray(CUmipmappedArray_st phMipmappedArray,
CUtexref_st hTexRef)
\brief Gets the mipmapped array bound to a texture reference
Returns in \p *phMipmappedArray the CUDA mipmapped array bound to the texture
reference \p hTexRef, or returns ::CUDA_ERROR_INVALID_VALUE if the texture reference
is not bound to any CUDA mipmapped array.
|
static int |
cudart.cuTexRefSetAddress(SizeTPointer ByteOffset,
CUtexref_st hTexRef,
long dptr,
long bytes)
\brief Binds an address as a texture reference
Binds a linear address range to the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefSetAddress2D(CUtexref_st hTexRef,
CUDA_ARRAY_DESCRIPTOR desc,
long dptr,
long Pitch)
\brief Binds an address as a 2D texture reference
Binds a linear address range to the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefSetAddressMode(CUtexref_st hTexRef,
int dim,
int am)
\brief Sets the addressing mode for a texture reference
Specifies the addressing mode \p am for the given dimension \p dim of the
texture reference \p hTexRef.
|
static int |
cudart.cuTexRefSetArray(CUtexref_st hTexRef,
CUarray_st hArray,
int Flags)
\brief Binds an array as a texture reference
Binds the CUDA array \p hArray to the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefSetBorderColor(CUtexref_st hTexRef,
float[] pBorderColor) |
static int |
cudart.cuTexRefSetBorderColor(CUtexref_st hTexRef,
FloatBuffer pBorderColor) |
static int |
cudart.cuTexRefSetBorderColor(CUtexref_st hTexRef,
FloatPointer pBorderColor)
\brief Sets the border color for a texture reference
Specifies the value of the RGBA color via the \p pBorderColor to the texture reference
\p hTexRef.
|
static int |
cudart.cuTexRefSetFilterMode(CUtexref_st hTexRef,
int fm)
\brief Sets the filtering mode for a texture reference
Specifies the filtering mode \p fm to be used when reading memory through
the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefSetFlags(CUtexref_st hTexRef,
int Flags)
\brief Sets the flags for a texture reference
Specifies optional flags via \p Flags to specify the behavior of data
returned through the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefSetFormat(CUtexref_st hTexRef,
int fmt,
int NumPackedComponents)
\brief Sets the format for a texture reference
Specifies the format of the data to be read by the texture reference
\p hTexRef.
|
static int |
cudart.cuTexRefSetMaxAnisotropy(CUtexref_st hTexRef,
int maxAniso)
\brief Sets the maximum anisotropy for a texture reference
Specifies the maximum anisotropy \p maxAniso to be used when reading memory through
the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefSetMipmapFilterMode(CUtexref_st hTexRef,
int fm)
\brief Sets the mipmap filtering mode for a texture reference
Specifies the mipmap filtering mode \p fm to be used when reading memory through
the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefSetMipmapLevelBias(CUtexref_st hTexRef,
float bias)
\brief Sets the mipmap level bias for a texture reference
Specifies the mipmap level bias \p bias to be added to the specified mipmap level when
reading memory through the texture reference \p hTexRef.
|
static int |
cudart.cuTexRefSetMipmapLevelClamp(CUtexref_st hTexRef,
float minMipmapLevelClamp,
float maxMipmapLevelClamp)
\brief Sets the mipmap min/max mipmap level clamps for a texture reference
Specifies the min/max mipmap level clamps, \p minMipmapLevelClamp and \p maxMipmapLevelClamp
respectively, to be used when reading memory through the texture reference
\p hTexRef.
|
static int |
cudart.cuTexRefSetMipmappedArray(CUtexref_st hTexRef,
CUmipmappedArray_st hMipmappedArray,
int Flags)
\brief Binds a mipmapped array to a texture reference
Binds the CUDA mipmapped array \p hMipmappedArray to the texture reference \p hTexRef.
|
Copyright © 2019. All rights reserved.