@Properties(inherit=cudart.class) public class CUmemLocation extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
CUmemLocation()
Default native constructor.
|
CUmemLocation(long size)
Native array allocator.
|
CUmemLocation(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
id()
identifier for a given this location's ::CUmemLocationType.
|
CUmemLocation |
id(int setter) |
CUmemLocation |
position(long position) |
int |
type()
Specifies the location type, which modifies the meaning of id.
|
CUmemLocation |
type(int 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 CUmemLocation()
public CUmemLocation(long size)
Pointer.position(long).public CUmemLocation(Pointer p)
Pointer.Pointer(Pointer).public CUmemLocation position(long position)
@Cast(value="CUmemLocationType") public int type()
public CUmemLocation type(int setter)
public int id()
public CUmemLocation id(int setter)
Copyright © 2019. All rights reserved.