@Properties(inherit=cudart.class) public class CUDA_EXTERNAL_MEMORY_BUFFER_DESC extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
flags()
Flags reserved for future use.
|
CUDA_EXTERNAL_MEMORY_BUFFER_DESC |
flags(int setter) |
long |
offset()
Offset into the memory object where the buffer's base is
|
CUDA_EXTERNAL_MEMORY_BUFFER_DESC |
offset(long setter) |
CUDA_EXTERNAL_MEMORY_BUFFER_DESC |
position(long position) |
IntPointer |
reserved() |
int |
reserved(int i) |
CUDA_EXTERNAL_MEMORY_BUFFER_DESC |
reserved(int i,
int setter) |
long |
size()
Size of the buffer
|
CUDA_EXTERNAL_MEMORY_BUFFER_DESC |
size(long setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic CUDA_EXTERNAL_MEMORY_BUFFER_DESC()
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC(long size)
Pointer.position(long).public CUDA_EXTERNAL_MEMORY_BUFFER_DESC(Pointer p)
Pointer.Pointer(Pointer).public CUDA_EXTERNAL_MEMORY_BUFFER_DESC position(long position)
@Cast(value="unsigned long long") public long offset()
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC offset(long setter)
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC size(long setter)
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC flags(int setter)
public CUDA_EXTERNAL_MEMORY_BUFFER_DESC reserved(int i, int setter)
@MemberGetter @Cast(value="unsigned int*") public IntPointer reserved()
Copyright © 2019. All rights reserved.