public class cudaPointerAttributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
device
The device against which the memory was allocated or registered.
|
Pointer |
devicePointer
The address which may be dereferenced on the current device to access
the memory or NULL if no such address exists.
|
Pointer |
hostPointer
The address which may be dereferenced on the host to access the
memory or NULL if no such address exists.
|
int |
isManaged
Indicates if this pointer points to managed memory
|
int |
memoryType
The physical location of the memory, ::cudaMemoryTypeHost or
::cudaMemoryTypeDevice.
|
Constructor and Description |
---|
cudaPointerAttributes()
Creates a new, uninitialized cudaPointerAttributes
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a String representation of this object.
|
public int memoryType
public int device
public Pointer devicePointer
public Pointer hostPointer
public int isManaged