Package org.bytedeco.cuda.cudart
Class cudaExtent
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.cudaExtent
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class cudaExtent extends Pointer
CUDA extent
-
-
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 cudaExtent()Default native constructor.cudaExtent(long size)Native array allocator.cudaExtent(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longdepth()Depth in elementscudaExtentdepth(long setter)cudaExtentgetPointer(long i)longheight()Height in elementscudaExtentheight(long setter)cudaExtentposition(long position)longwidth()Width in elements when referring to array memory, in bytes when referring to linear memorycudaExtentwidth(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
-
cudaExtent
public cudaExtent()
Default native constructor.
-
cudaExtent
public cudaExtent(long size)
Native array allocator. Access withPointer.position(long).
-
cudaExtent
public cudaExtent(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public cudaExtent position(long position)
-
getPointer
public cudaExtent getPointer(long i)
- Overrides:
getPointerin classPointer
-
width
@Cast("size_t") public long width()
Width in elements when referring to array memory, in bytes when referring to linear memory
-
width
public cudaExtent width(long setter)
-
height
@Cast("size_t") public long height()
Height in elements
-
height
public cudaExtent height(long setter)
-
depth
@Cast("size_t") public long depth()
Depth in elements
-
depth
public cudaExtent depth(long setter)
-
-