Package org.bytedeco.cuda.cudart
Class CUmemAllocationProp
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUmemAllocationProp
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUmemAllocationProp extends Pointer
Specifies the allocation properties for a allocation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description CUmemAllocationProp()Default native constructor.CUmemAllocationProp(long size)Native array allocator.CUmemAllocationProp(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CUmemAllocationPropgetPointer(long i)CUmemLocationlocation()Location of allocationCUmemAllocationProplocation(CUmemLocation setter)CUmemAllocationPropposition(long position)intrequestedHandleTypes()requested ::CUmemAllocationHandleTypeCUmemAllocationProprequestedHandleTypes(int setter)longreserved()Reserved for future use, must be zeroCUmemAllocationPropreserved(long setter)inttype()Allocation typeCUmemAllocationProptype(int setter)Pointerwin32HandleMetaData()Windows-specific LPSECURITYATTRIBUTES required when ::CU_MEM_HANDLE_TYPE_WIN32 is specified.CUmemAllocationPropwin32HandleMetaData(Pointer setter)-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
CUmemAllocationProp
public CUmemAllocationProp()
Default native constructor.
-
CUmemAllocationProp
public CUmemAllocationProp(long size)
Native array allocator. Access withPointer.position(long).
-
CUmemAllocationProp
public CUmemAllocationProp(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public CUmemAllocationProp position(long position)
-
getPointer
public CUmemAllocationProp getPointer(long i)
- Overrides:
getPointerin classPointer
-
type
@Cast("CUmemAllocationType") public int type()
Allocation type
-
type
public CUmemAllocationProp type(int setter)
-
requestedHandleTypes
@Cast("CUmemAllocationHandleType") public int requestedHandleTypes()
requested ::CUmemAllocationHandleType
-
requestedHandleTypes
public CUmemAllocationProp requestedHandleTypes(int setter)
-
location
@ByRef public CUmemLocation location()
Location of allocation
-
location
public CUmemAllocationProp location(CUmemLocation setter)
-
win32HandleMetaData
public Pointer win32HandleMetaData()
Windows-specific LPSECURITYATTRIBUTES required when ::CU_MEM_HANDLE_TYPE_WIN32 is specified. This security attribute defines the scope of which exported allocations may be tranferred to other processes. In all other cases, this field is required to be zero.
-
win32HandleMetaData
public CUmemAllocationProp win32HandleMetaData(Pointer setter)
-
reserved
@Cast("unsigned long long") public long reserved()
Reserved for future use, must be zero
-
reserved
public CUmemAllocationProp reserved(long setter)
-
-