Package org.bytedeco.cuda.cudart
Class CUDA_EXTERNAL_MEMORY_BUFFER_DESC
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUDA_EXTERNAL_MEMORY_BUFFER_DESC
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUDA_EXTERNAL_MEMORY_BUFFER_DESC extends Pointer
External memory buffer 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_EXTERNAL_MEMORY_BUFFER_DESC()Default native constructor.CUDA_EXTERNAL_MEMORY_BUFFER_DESC(long size)Native array allocator.CUDA_EXTERNAL_MEMORY_BUFFER_DESC(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intflags()Flags reserved for future use.CUDA_EXTERNAL_MEMORY_BUFFER_DESCflags(int setter)CUDA_EXTERNAL_MEMORY_BUFFER_DESCgetPointer(long i)longoffset()Offset into the memory object where the buffer's base isCUDA_EXTERNAL_MEMORY_BUFFER_DESCoffset(long setter)CUDA_EXTERNAL_MEMORY_BUFFER_DESCposition(long position)IntPointerreserved()intreserved(int i)CUDA_EXTERNAL_MEMORY_BUFFER_DESCreserved(int i, int setter)longsize()Size of the bufferCUDA_EXTERNAL_MEMORY_BUFFER_DESCsize(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_EXTERNAL_MEMORY_BUFFER_DESC
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC()
Default native constructor.
-
CUDA_EXTERNAL_MEMORY_BUFFER_DESC
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC(long size)
Native array allocator. Access withPointer.position(long).
-
CUDA_EXTERNAL_MEMORY_BUFFER_DESC
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC position(long position)
-
getPointer
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC getPointer(long i)
- Overrides:
getPointerin classPointer
-
offset
@Cast("unsigned long long") public long offset()
Offset into the memory object where the buffer's base is
-
offset
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC offset(long setter)
-
size
@Cast("unsigned long long") public long size()
Size of the buffer
-
size
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC size(long setter)
-
flags
@Cast("unsigned int") public int flags()
Flags reserved for future use. Must be zero.
-
flags
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC flags(int setter)
-
reserved
@Cast("unsigned int") public int reserved(int i)
-
reserved
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC reserved(int i, int setter)
-
reserved
@MemberGetter @Cast("unsigned int*") public IntPointer reserved()
-
-