@Properties(inherit=cudart.class) public class CUmemPoolProps_v1 extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CUmemPoolProps_v1()
Default native constructor.
|
CUmemPoolProps_v1(long size)
Native array allocator.
|
CUmemPoolProps_v1(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
allocType()
Allocation type.
|
CUmemPoolProps_v1 |
allocType(int setter) |
CUmemPoolProps_v1 |
getPointer(long i) |
int |
handleTypes()
Handle types that will be supported by allocations from the pool.
|
CUmemPoolProps_v1 |
handleTypes(int setter) |
CUmemLocation_v1 |
location()
Location where allocations should reside.
|
CUmemPoolProps_v1 |
location(CUmemLocation_v1 setter) |
long |
maxSize()
Maximum pool size.
|
CUmemPoolProps_v1 |
maxSize(long setter) |
CUmemPoolProps_v1 |
position(long position) |
BytePointer |
reserved() |
byte |
reserved(int i)
reserved for future use, must be 0
|
CUmemPoolProps_v1 |
reserved(int i,
byte setter) |
Pointer |
win32SecurityAttributes()
Windows-specific LPSECURITYATTRIBUTES required when
::CU_MEM_HANDLE_TYPE_WIN32 is specified.
|
CUmemPoolProps_v1 |
win32SecurityAttributes(Pointer setter) |
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 CUmemPoolProps_v1()
public CUmemPoolProps_v1(long size)
Pointer.position(long)
.public CUmemPoolProps_v1(Pointer p)
Pointer(Pointer)
.public CUmemPoolProps_v1 position(long position)
public CUmemPoolProps_v1 getPointer(long i)
getPointer
in class Pointer
@Cast(value="CUmemAllocationType") public int allocType()
public CUmemPoolProps_v1 allocType(int setter)
@Cast(value="CUmemAllocationHandleType") public int handleTypes()
public CUmemPoolProps_v1 handleTypes(int setter)
@ByRef @Cast(value="CUmemLocation*") public CUmemLocation_v1 location()
public CUmemPoolProps_v1 location(CUmemLocation_v1 setter)
public Pointer win32SecurityAttributes()
public CUmemPoolProps_v1 win32SecurityAttributes(Pointer setter)
@Cast(value="size_t") public long maxSize()
public CUmemPoolProps_v1 maxSize(long setter)
@Cast(value="unsigned char") public byte reserved(int i)
public CUmemPoolProps_v1 reserved(int i, byte setter)
@MemberGetter @Cast(value="unsigned char*") public BytePointer reserved()
Copyright © 2024. All rights reserved.