@Properties(inherit=cudart.class) public class CUDA_MEM_ALLOC_NODE_PARAMS_v2 extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CUDA_MEM_ALLOC_NODE_PARAMS_v2()
Default native constructor.
|
CUDA_MEM_ALLOC_NODE_PARAMS_v2(long size)
Native array allocator.
|
CUDA_MEM_ALLOC_NODE_PARAMS_v2(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
accessDescCount()
in: number of memory access descriptors.
|
CUDA_MEM_ALLOC_NODE_PARAMS_v2 |
accessDescCount(long setter) |
CUmemAccessDesc_v1 |
accessDescs()
in: array of memory access descriptors.
|
CUDA_MEM_ALLOC_NODE_PARAMS_v2 |
accessDescs(CUmemAccessDesc_v1 setter) |
long |
bytesize()
in: size in bytes of the requested allocation
|
CUDA_MEM_ALLOC_NODE_PARAMS_v2 |
bytesize(long setter) |
long |
dptr()
out: address of the allocation returned by CUDA
|
CUDA_MEM_ALLOC_NODE_PARAMS_v2 |
dptr(long setter) |
CUDA_MEM_ALLOC_NODE_PARAMS_v2 |
getPointer(long i) |
CUmemPoolProps_v1 |
poolProps()
in: location where the allocation should reside (specified in ::location).
|
CUDA_MEM_ALLOC_NODE_PARAMS_v2 |
poolProps(CUmemPoolProps_v1 setter) |
CUDA_MEM_ALLOC_NODE_PARAMS_v2 |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public CUDA_MEM_ALLOC_NODE_PARAMS_v2()
public CUDA_MEM_ALLOC_NODE_PARAMS_v2(long size)
Pointer.position(long)
.public CUDA_MEM_ALLOC_NODE_PARAMS_v2(Pointer p)
Pointer(Pointer)
.public CUDA_MEM_ALLOC_NODE_PARAMS_v2 position(long position)
public CUDA_MEM_ALLOC_NODE_PARAMS_v2 getPointer(long i)
getPointer
in class Pointer
@ByRef @Cast(value="CUmemPoolProps*") public CUmemPoolProps_v1 poolProps()
public CUDA_MEM_ALLOC_NODE_PARAMS_v2 poolProps(CUmemPoolProps_v1 setter)
@Cast(value="const CUmemAccessDesc*") public CUmemAccessDesc_v1 accessDescs()
public CUDA_MEM_ALLOC_NODE_PARAMS_v2 accessDescs(CUmemAccessDesc_v1 setter)
@Cast(value="size_t") public long accessDescCount()
public CUDA_MEM_ALLOC_NODE_PARAMS_v2 accessDescCount(long setter)
public CUDA_MEM_ALLOC_NODE_PARAMS_v2 bytesize(long setter)
public CUDA_MEM_ALLOC_NODE_PARAMS_v2 dptr(long setter)
Copyright © 2024. All rights reserved.