Parallel Colt 0.7.2

jcuda.jcublas
Enum JCublas.ARCHType

java.lang.Object
  extended by java.lang.Enum<JCublas.ARCHType>
      extended by 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.


Enum Constant Summary
PPC
           
PPC_64
           
SPARC
           
UNKNOWN
           
X86
           
X86_64
           
 
Method Summary
static JCublas.ARCHType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JCublas.ARCHType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

Parallel Colt 0.7.2

Jump to the Parallel Colt Homepage