jcuda.jcublas
Class cublasPointerMode

java.lang.Object
  extended by jcuda.jcublas.cublasPointerMode

public class cublasPointerMode
extends java.lang.Object

Indicates whether the scalar values are passed by reference on the host or device

See Also:
JCublas2.cublasSetPointerMode(cublasHandle, int)

Field Summary
static int CUBLAS_POINTER_MODE_DEVICE
          The scalars are passed by reference on the device
static int CUBLAS_POINTER_MODE_HOST
          The scalars are passed by reference on the host
 
Method Summary
static java.lang.String stringFor(int n)
          Returns a string representation of the given constant
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CUBLAS_POINTER_MODE_HOST

public static final int CUBLAS_POINTER_MODE_HOST
The scalars are passed by reference on the host

See Also:
Constant Field Values

CUBLAS_POINTER_MODE_DEVICE

public static final int CUBLAS_POINTER_MODE_DEVICE
The scalars are passed by reference on the device

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int n)
Returns a string representation of the given constant

Returns:
A string representation of the given constant