Package org.bytedeco.cuda.cudart
Class cudaExternalMemoryBufferDesc
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.cudaExternalMemoryBufferDesc
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class cudaExternalMemoryBufferDesc 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 cudaExternalMemoryBufferDesc()Default native constructor.cudaExternalMemoryBufferDesc(long size)Native array allocator.cudaExternalMemoryBufferDesc(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intflags()Flags reserved for future use.cudaExternalMemoryBufferDescflags(int setter)cudaExternalMemoryBufferDescgetPointer(long i)longoffset()Offset into the memory object where the buffer's base iscudaExternalMemoryBufferDescoffset(long setter)cudaExternalMemoryBufferDescposition(long position)longsize()Size of the buffercudaExternalMemoryBufferDescsize(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
-
cudaExternalMemoryBufferDesc
public cudaExternalMemoryBufferDesc()
Default native constructor.
-
cudaExternalMemoryBufferDesc
public cudaExternalMemoryBufferDesc(long size)
Native array allocator. Access withPointer.position(long).
-
cudaExternalMemoryBufferDesc
public cudaExternalMemoryBufferDesc(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public cudaExternalMemoryBufferDesc position(long position)
-
getPointer
public cudaExternalMemoryBufferDesc 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 cudaExternalMemoryBufferDesc offset(long setter)
-
size
@Cast("unsigned long long") public long size()
Size of the buffer
-
size
public cudaExternalMemoryBufferDesc size(long setter)
-
flags
@Cast("unsigned int") public int flags()
Flags reserved for future use. Must be zero.
-
flags
public cudaExternalMemoryBufferDesc flags(int setter)
-
-