Package org.bytedeco.cuda.cudart
Class CUDA_ARRAY_DESCRIPTOR
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUDA_ARRAY_DESCRIPTOR
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUDA_ARRAY_DESCRIPTOR extends Pointer
Array 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_ARRAY_DESCRIPTOR()Default native constructor.CUDA_ARRAY_DESCRIPTOR(long size)Native array allocator.CUDA_ARRAY_DESCRIPTOR(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intFormat()Array formatCUDA_ARRAY_DESCRIPTORFormat(int setter)CUDA_ARRAY_DESCRIPTORgetPointer(long i)longHeight()Height of arrayCUDA_ARRAY_DESCRIPTORHeight(long setter)intNumChannels()Channels per array elementCUDA_ARRAY_DESCRIPTORNumChannels(int setter)CUDA_ARRAY_DESCRIPTORposition(long position)longWidth()Width of arrayCUDA_ARRAY_DESCRIPTORWidth(long setter)-
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_ARRAY_DESCRIPTOR
public CUDA_ARRAY_DESCRIPTOR()
Default native constructor.
-
CUDA_ARRAY_DESCRIPTOR
public CUDA_ARRAY_DESCRIPTOR(long size)
Native array allocator. Access withPointer.position(long).
-
CUDA_ARRAY_DESCRIPTOR
public CUDA_ARRAY_DESCRIPTOR(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public CUDA_ARRAY_DESCRIPTOR position(long position)
-
getPointer
public CUDA_ARRAY_DESCRIPTOR getPointer(long i)
- Overrides:
getPointerin classPointer
-
Width
@Cast("size_t") public long Width()
Width of array
-
Width
public CUDA_ARRAY_DESCRIPTOR Width(long setter)
-
Height
@Cast("size_t") public long Height()
Height of array
-
Height
public CUDA_ARRAY_DESCRIPTOR Height(long setter)
-
Format
@Cast("CUarray_format") public int Format()
Array format
-
Format
public CUDA_ARRAY_DESCRIPTOR Format(int setter)
-
NumChannels
@Cast("unsigned int") public int NumChannels()
Channels per array element
-
NumChannels
public CUDA_ARRAY_DESCRIPTOR NumChannels(int setter)
-
-