public static enum CudaDevice.SharedMemConfig extends java.lang.Enum<CudaDevice.SharedMemConfig>
Enum Constant and Description |
---|
DEFAULT_BANK_SIZE
default shared memory bank size
|
EIGHT_BYTE_BANK_SIZE
eight byte shared memory bank width
|
FOUR_BYTE_BANK_SIZE
four byte shared memory bank width
|
Modifier and Type | Method and Description |
---|---|
static CudaDevice.SharedMemConfig |
valueOf(java.lang.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.
|
public static final CudaDevice.SharedMemConfig DEFAULT_BANK_SIZE
public static final CudaDevice.SharedMemConfig EIGHT_BYTE_BANK_SIZE
public static final CudaDevice.SharedMemConfig FOUR_BYTE_BANK_SIZE
public static CudaDevice.SharedMemConfig[] values()
for (CudaDevice.SharedMemConfig c : CudaDevice.SharedMemConfig.values()) System.out.println(c);
public static CudaDevice.SharedMemConfig valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullEclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 2013, 2023 IBM Corp. and others.