|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcuda.runtime.cudaPointerAttributes
public class cudaPointerAttributes
CUDA pointer attributes
Field Summary | |
---|---|
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 |
memoryType
The physical location of the memory, ::cudaMemoryTypeHost or ::cudaMemoryTypeDevice. |
Constructor Summary | |
---|---|
cudaPointerAttributes()
Creates a new, uninitialized cudaPointerAttributes |
Method Summary | |
---|---|
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int memoryType
public int device
public Pointer devicePointer
public Pointer hostPointer
Constructor Detail |
---|
public cudaPointerAttributes()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |