jcuda.runtime
Class cudaSharedMemConfig

java.lang.Object
  extended by jcuda.runtime.cudaSharedMemConfig

public class cudaSharedMemConfig
extends java.lang.Object

Shared memory configurations


Field Summary
static int cudaSharedMemBankSizeDefault
          Set default shared memory bank size
static int cudaSharedMemBankSizeEightByte
          Set shared memory bank width to eight bytes
static int cudaSharedMemBankSizeFourByte
          Set shared memory bank width to four bytes
 
Method Summary
static java.lang.String stringFor(int n)
          Returns the String identifying the given cudaSharedMemConfig
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cudaSharedMemBankSizeDefault

public static final int cudaSharedMemBankSizeDefault
Set default shared memory bank size

See Also:
Constant Field Values

cudaSharedMemBankSizeFourByte

public static final int cudaSharedMemBankSizeFourByte
Set shared memory bank width to four bytes

See Also:
Constant Field Values

cudaSharedMemBankSizeEightByte

public static final int cudaSharedMemBankSizeEightByte
Set shared memory bank width to eight bytes

See Also:
Constant Field Values
Method Detail

stringFor

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

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