Package org.bytedeco.cuda.cudart
Class CUDA_RESOURCE_DESC
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUDA_RESOURCE_DESC
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUDA_RESOURCE_DESC extends Pointer
CUDA Resource descriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description CUDA_RESOURCE_DESC()Default native constructor.CUDA_RESOURCE_DESC(long size)Native array allocator.CUDA_RESOURCE_DESC(Pointer p)Pointer cast constructor.
-
Method Summary
-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
CUDA_RESOURCE_DESC
public CUDA_RESOURCE_DESC()
Default native constructor.
-
CUDA_RESOURCE_DESC
public CUDA_RESOURCE_DESC(long size)
Native array allocator. Access withPointer.position(long).
-
CUDA_RESOURCE_DESC
public CUDA_RESOURCE_DESC(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public CUDA_RESOURCE_DESC position(long position)
-
getPointer
public CUDA_RESOURCE_DESC getPointer(long i)
- Overrides:
getPointerin classPointer
-
resType
@Cast("CUresourcetype") public int resType()
Resource type
-
resType
public CUDA_RESOURCE_DESC resType(int setter)
-
res_array_hArray
@Name("res.array.hArray") public CUarray_st res_array_hArray()
CUDA array
-
res_array_hArray
public CUDA_RESOURCE_DESC res_array_hArray(CUarray_st setter)
-
res_mipmap_hMipmappedArray
@Name("res.mipmap.hMipmappedArray") public CUmipmappedArray_st res_mipmap_hMipmappedArray()
CUDA mipmapped array
-
res_mipmap_hMipmappedArray
public CUDA_RESOURCE_DESC res_mipmap_hMipmappedArray(CUmipmappedArray_st setter)
-
res_linear_devPtr
@Name("res.linear.devPtr") @Cast("CUdeviceptr") public long res_linear_devPtr()
Device pointer
-
res_linear_devPtr
public CUDA_RESOURCE_DESC res_linear_devPtr(long setter)
-
res_linear_format
@Name("res.linear.format") @Cast("CUarray_format") public int res_linear_format()
Array format
-
res_linear_format
public CUDA_RESOURCE_DESC res_linear_format(int setter)
-
res_linear_numChannels
@Name("res.linear.numChannels") @Cast("unsigned int") public int res_linear_numChannels()
Channels per array element
-
res_linear_numChannels
public CUDA_RESOURCE_DESC res_linear_numChannels(int setter)
-
res_linear_sizeInBytes
@Name("res.linear.sizeInBytes") @Cast("size_t") public long res_linear_sizeInBytes()
Size in bytes
-
res_linear_sizeInBytes
public CUDA_RESOURCE_DESC res_linear_sizeInBytes(long setter)
-
res_pitch2D_devPtr
@Name("res.pitch2D.devPtr") @Cast("CUdeviceptr") public long res_pitch2D_devPtr()
Device pointer
-
res_pitch2D_devPtr
public CUDA_RESOURCE_DESC res_pitch2D_devPtr(long setter)
-
res_pitch2D_format
@Name("res.pitch2D.format") @Cast("CUarray_format") public int res_pitch2D_format()
Array format
-
res_pitch2D_format
public CUDA_RESOURCE_DESC res_pitch2D_format(int setter)
-
res_pitch2D_numChannels
@Name("res.pitch2D.numChannels") @Cast("unsigned int") public int res_pitch2D_numChannels()
Channels per array element
-
res_pitch2D_numChannels
public CUDA_RESOURCE_DESC res_pitch2D_numChannels(int setter)
-
res_pitch2D_width
@Name("res.pitch2D.width") @Cast("size_t") public long res_pitch2D_width()
Width of the array in elements
-
res_pitch2D_width
public CUDA_RESOURCE_DESC res_pitch2D_width(long setter)
-
res_pitch2D_height
@Name("res.pitch2D.height") @Cast("size_t") public long res_pitch2D_height()
Height of the array in elements
-
res_pitch2D_height
public CUDA_RESOURCE_DESC res_pitch2D_height(long setter)
-
res_pitch2D_pitchInBytes
@Name("res.pitch2D.pitchInBytes") @Cast("size_t") public long res_pitch2D_pitchInBytes()
Pitch between two rows in bytes
-
res_pitch2D_pitchInBytes
public CUDA_RESOURCE_DESC res_pitch2D_pitchInBytes(long setter)
-
res_reserved_reserved
@Name("res.reserved.reserved") public int res_reserved_reserved(int i)
-
res_reserved_reserved
public CUDA_RESOURCE_DESC res_reserved_reserved(int i, int setter)
-
res_reserved_reserved
@Name("res.reserved.reserved") @MemberGetter public IntPointer res_reserved_reserved()
-
flags
@Cast("unsigned int") public int flags()
Flags (must be zero)
-
flags
public CUDA_RESOURCE_DESC flags(int setter)
-
-