public enum RuntimeType extends Enum<RuntimeType>
Enum Constant and Description |
---|
FORK_JOIN
Enum representing the parallel fork-join runtime.
|
JAVA_UTIL_CONCURRENT
Enum representing the parallel fork-join runtime.
|
SEQUENTIAL
Enum representing the sequential runtime.
|
SIMT_WSH
Enum representing the parallel simt-worksharing runtime.
|
SIMT_WST
Enum representing the parallel simt-workstealing runtime.
|
Modifier and Type | Field and Description |
---|---|
String |
shortName
Short name of the runtime.
|
Modifier and Type | Method and Description |
---|---|
static RuntimeType |
fromShortName(String shortName)
fromShortName.
|
protected abstract HjRuntime |
initializeRuntime()
initializeRuntime.
|
static RuntimeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeType SEQUENTIAL
public static final RuntimeType FORK_JOIN
public static final RuntimeType JAVA_UTIL_CONCURRENT
public static final RuntimeType SIMT_WSH
public static final RuntimeType SIMT_WST
public final String shortName
public static RuntimeType[] values()
for (RuntimeType c : RuntimeType.values()) System.out.println(c);
public static RuntimeType 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 static RuntimeType fromShortName(String shortName)
fromShortName.
shortName
- the short name of the runtime to find.protected abstract HjRuntime initializeRuntime()
initializeRuntime.
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.