Package org.bytedeco.cuda.cudart
Class cudaPitchedPtr
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.cudaPitchedPtr
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class cudaPitchedPtr extends Pointer
CUDA Pitched memory pointer
-
-
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 cudaPitchedPtr()Default native constructor.cudaPitchedPtr(long size)Native array allocator.cudaPitchedPtr(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description cudaPitchedPtrgetPointer(long i)longpitch()Pitch of allocated memory in bytescudaPitchedPtrpitch(long setter)cudaPitchedPtrposition(long position)Pointerptr()Pointer to allocated memorycudaPitchedPtrptr(Pointer setter)longxsize()Logical width of allocation in elementscudaPitchedPtrxsize(long setter)longysize()Logical height of allocation in elementscudaPitchedPtrysize(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
-
cudaPitchedPtr
public cudaPitchedPtr()
Default native constructor.
-
cudaPitchedPtr
public cudaPitchedPtr(long size)
Native array allocator. Access withPointer.position(long).
-
cudaPitchedPtr
public cudaPitchedPtr(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public cudaPitchedPtr position(long position)
-
getPointer
public cudaPitchedPtr getPointer(long i)
- Overrides:
getPointerin classPointer
-
ptr
public Pointer ptr()
Pointer to allocated memory
-
ptr
public cudaPitchedPtr ptr(Pointer setter)
-
pitch
@Cast("size_t") public long pitch()
Pitch of allocated memory in bytes
-
pitch
public cudaPitchedPtr pitch(long setter)
-
xsize
@Cast("size_t") public long xsize()
Logical width of allocation in elements
-
xsize
public cudaPitchedPtr xsize(long setter)
-
ysize
@Cast("size_t") public long ysize()
Logical height of allocation in elements
-
ysize
public cudaPitchedPtr ysize(long setter)
-
-