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