Package org.bytedeco.cuda.cudart
Class CUmemLocation
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUmemLocation
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUmemLocation extends Pointer
Specifies a location for an 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 CUmemLocation()Default native constructor.CUmemLocation(long size)Native array allocator.CUmemLocation(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CUmemLocationgetPointer(long i)intid()identifier for a given this location's ::CUmemLocationType.CUmemLocationid(int setter)CUmemLocationposition(long position)inttype()Specifies the location type, which modifies the meaning of id.CUmemLocationtype(int 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
-
CUmemLocation
public CUmemLocation()
Default native constructor.
-
CUmemLocation
public CUmemLocation(long size)
Native array allocator. Access withPointer.position(long).
-
CUmemLocation
public CUmemLocation(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public CUmemLocation position(long position)
-
getPointer
public CUmemLocation getPointer(long i)
- Overrides:
getPointerin classPointer
-
type
@Cast("CUmemLocationType") public int type()
Specifies the location type, which modifies the meaning of id.
-
type
public CUmemLocation type(int setter)
-
id
public int id()
identifier for a given this location's ::CUmemLocationType.
-
id
public CUmemLocation id(int setter)
-
-