public enum Primitive extends Enum<Primitive>
| Enum Constant and Description |
|---|
Byte |
Byte16 |
Byte2 |
Byte3 |
Byte4 |
Byte8 |
Double |
Double16 |
Double2 |
Double3 |
Double4 |
Double8 |
Float |
Float16 |
Float2 |
Float3 |
Float4 |
Float8 |
Int |
Int16 |
Int2 |
Int3 |
Int4 |
Int8 |
Long |
Long16 |
Long2 |
Long3 |
Long4 |
Long8 |
Short |
Short16 |
Short2 |
Short3 |
Short4 |
Short8 |
| Modifier and Type | Field and Description |
|---|---|
OpenCLType |
oclType |
int |
primitiveCount |
Class<?> |
primitiveType |
| Modifier and Type | Method and Description |
|---|---|
String |
clTypeName() |
String |
getRequiredPragmas() |
static Primitive |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Primitive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public final OpenCLType oclType
public final int primitiveCount
public final Class<?> primitiveType
public static Primitive[] values()
for (Primitive c : Primitive.values()) System.out.println(c);
public static Primitive valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String clTypeName()
public String getRequiredPragmas()
Copyright © 2009-2015. All Rights Reserved.