jcuda.jcublas
Enum JCublas.ARCHType
java.lang.Object
java.lang.Enum<JCublas.ARCHType>
jcuda.jcublas.JCublas.ARCHType
- All Implemented Interfaces:
- Serializable, Comparable<JCublas.ARCHType>
- Enclosing class:
- JCublas
public static enum JCublas.ARCHType
- extends Enum<JCublas.ARCHType>
Enumeration of common CPU architectures.
PPC
public static final JCublas.ARCHType PPC
PPC_64
public static final JCublas.ARCHType PPC_64
SPARC
public static final JCublas.ARCHType SPARC
UNKNOWN
public static final JCublas.ARCHType UNKNOWN
X86
public static final JCublas.ARCHType X86
X86_64
public static final JCublas.ARCHType X86_64
values
public static JCublas.ARCHType[] 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 (JCublas.ARCHType c : JCublas.ARCHType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JCublas.ARCHType 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 name
NullPointerException
- if the argument is null
Jump to the Parallel Colt Homepage