jcuda.jcublas
Class cublasAtomicsMode

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

public class cublasAtomicsMode
extends java.lang.Object

The type indicates whether CUBLAS routines which has an alternate implementation using atomics can be used. The atomics mode can be set and queried using and routines, respectively.

See Also:
JCublas2.cublasSetAtomicsMode(cublasHandle, int)

Field Summary
static int CUBLAS_ATOMICS_ALLOWED
          Atomics are allowed
static int CUBLAS_ATOMICS_NOT_ALLOWED
          Atomics are not allowed
 
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_ATOMICS_NOT_ALLOWED

public static final int CUBLAS_ATOMICS_NOT_ALLOWED
Atomics are not allowed

See Also:
Constant Field Values

CUBLAS_ATOMICS_ALLOWED

public static final int CUBLAS_ATOMICS_ALLOWED
Atomics are allowed

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