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