jcuda.driver
Class CUpointer_attribute

java.lang.Object
  extended by jcuda.driver.CUpointer_attribute

public class CUpointer_attribute
extends java.lang.Object

Pointer information.

Most comments are taken from the CUDA reference manual


Field Summary
static int CU_POINTER_ATTRIBUTE_CONTEXT
          The ::CUcontext on which a pointer was allocated or registered
static int CU_POINTER_ATTRIBUTE_DEVICE_POINTER
          The address at which a pointer's memory may be accessed on the device
static int CU_POINTER_ATTRIBUTE_HOST_POINTER
          The address at which a pointer's memory may be accessed on the host
static int CU_POINTER_ATTRIBUTE_MEMORY_TYPE
          The ::CUmemorytype describing the physical location of a pointer
static int CU_POINTER_ATTRIBUTE_P2P_TOKENS
          A pair of tokens for use with the nv-p2p.h Linux kernel interface
 
Method Summary
static java.lang.String stringFor(int n)
          Returns the String identifying the given CUpointer_attribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CU_POINTER_ATTRIBUTE_CONTEXT

public static final int CU_POINTER_ATTRIBUTE_CONTEXT
The ::CUcontext on which a pointer was allocated or registered

See Also:
Constant Field Values

CU_POINTER_ATTRIBUTE_MEMORY_TYPE

public static final int CU_POINTER_ATTRIBUTE_MEMORY_TYPE
The ::CUmemorytype describing the physical location of a pointer

See Also:
Constant Field Values

CU_POINTER_ATTRIBUTE_DEVICE_POINTER

public static final int CU_POINTER_ATTRIBUTE_DEVICE_POINTER
The address at which a pointer's memory may be accessed on the device

See Also:
Constant Field Values

CU_POINTER_ATTRIBUTE_HOST_POINTER

public static final int CU_POINTER_ATTRIBUTE_HOST_POINTER
The address at which a pointer's memory may be accessed on the host

See Also:
Constant Field Values

CU_POINTER_ATTRIBUTE_P2P_TOKENS

public static final int CU_POINTER_ATTRIBUTE_P2P_TOKENS
A pair of tokens for use with the nv-p2p.h Linux kernel interface

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int n)
Returns the String identifying the given CUpointer_attribute

Parameters:
n - The CUpointer_attribute
Returns:
The String identifying the given CUpointer_attribute