@Properties(inherit=cudart.class) public class CUmemAllocationProp extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
CUmemAllocationProp()
Default native constructor.
|
CUmemAllocationProp(long size)
Native array allocator.
|
CUmemAllocationProp(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CUmemLocation |
location()
Location of allocation
|
CUmemAllocationProp |
location(CUmemLocation setter) |
CUmemAllocationProp |
position(long position) |
int |
requestedHandleTypes()
requested ::CUmemAllocationHandleType
|
CUmemAllocationProp |
requestedHandleTypes(int setter) |
long |
reserved()
Reserved for future use, must be zero
|
CUmemAllocationProp |
reserved(long setter) |
int |
type()
Allocation type
|
CUmemAllocationProp |
type(int setter) |
Pointer |
win32HandleMetaData()
Windows-specific LPSECURITYATTRIBUTES required when
::CU_MEM_HANDLE_TYPE_WIN32 is specified.
|
CUmemAllocationProp |
win32HandleMetaData(Pointer 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 CUmemAllocationProp()
public CUmemAllocationProp(long size)
Pointer.position(long).public CUmemAllocationProp(Pointer p)
Pointer.Pointer(Pointer).public CUmemAllocationProp position(long position)
public CUmemAllocationProp type(int setter)
@Cast(value="CUmemAllocationHandleType") public int requestedHandleTypes()
public CUmemAllocationProp requestedHandleTypes(int setter)
@ByRef public CUmemLocation location()
public CUmemAllocationProp location(CUmemLocation setter)
public Pointer win32HandleMetaData()
public CUmemAllocationProp win32HandleMetaData(Pointer setter)
@Cast(value="unsigned long long") public long reserved()
public CUmemAllocationProp reserved(long setter)
Copyright © 2019. All rights reserved.