- java.lang.Object
-
- java.lang.Enum<CudaDevice.SharedMemConfig>
-
- com.ibm.cuda.CudaDevice.SharedMemConfig
-
- All Implemented Interfaces:
Serializable
,Comparable<CudaDevice.SharedMemConfig>
- Enclosing class:
- CudaDevice
public static enum CudaDevice.SharedMemConfig extends Enum<CudaDevice.SharedMemConfig>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_BANK_SIZE
default shared memory bank sizeEIGHT_BYTE_BANK_SIZE
eight byte shared memory bank widthFOUR_BYTE_BANK_SIZE
four byte shared memory bank width
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CudaDevice.SharedMemConfig
valueOf(String name)
Returns the enum constant of this type with the specified name.static CudaDevice.SharedMemConfig[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_BANK_SIZE
public static final CudaDevice.SharedMemConfig DEFAULT_BANK_SIZE
default shared memory bank size
-
EIGHT_BYTE_BANK_SIZE
public static final CudaDevice.SharedMemConfig EIGHT_BYTE_BANK_SIZE
eight byte shared memory bank width
-
FOUR_BYTE_BANK_SIZE
public static final CudaDevice.SharedMemConfig FOUR_BYTE_BANK_SIZE
four byte shared memory bank width
-
-
Method Detail
-
values
public static CudaDevice.SharedMemConfig[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CudaDevice.SharedMemConfig c : CudaDevice.SharedMemConfig.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CudaDevice.SharedMemConfig valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-