jcuda.driver
Class CUsharedconfig

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

public class CUsharedconfig
extends java.lang.Object

Shared memory configurations


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

Field Detail

CU_SHARED_MEM_CONFIG_DEFAULT_BANK_SIZE

public static final int CU_SHARED_MEM_CONFIG_DEFAULT_BANK_SIZE
Set default shared memory bank size

See Also:
Constant Field Values

CU_SHARED_MEM_CONFIG_FOUR_BYTE_BANK_SIZE

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

See Also:
Constant Field Values

CU_SHARED_MEM_CONFIG_EIGHT_BYTE_BANK_SIZE

public static final int CU_SHARED_MEM_CONFIG_EIGHT_BYTE_BANK_SIZE
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 CUsharedconfig

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