Package | Description |
---|---|
com.aparapi |
Modifier and Type | Field and Description |
---|---|
private Kernel.EXECUTION_MODE |
Kernel.executionMode
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Iterator<Kernel.EXECUTION_MODE> |
Kernel.currentMode
Deprecated.
|
private java.util.LinkedHashSet<Kernel.EXECUTION_MODE> |
Kernel.executionModes
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Kernel.EXECUTION_MODE |
Kernel.getExecutionMode()
Deprecated.
See
Kernel.EXECUTION_MODE
Return the current execution mode. Before a Kernel executes, this return value will be the execution mode as determined by the setting of the EXECUTION_MODE enumeration. By default, this setting is either GPU if OpenCL is available on the target system, or JTP otherwise. This default setting can be changed by calling setExecutionMode(). After a Kernel executes, the return value will be the mode in which the Kernel actually executed. |
(package private) static Kernel.EXECUTION_MODE |
Kernel.EXECUTION_MODE.getFallbackExecutionMode()
Deprecated.
|
static Kernel.EXECUTION_MODE |
Kernel.EXECUTION_MODE.valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Kernel.EXECUTION_MODE[] |
Kernel.EXECUTION_MODE.values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.LinkedHashSet<Kernel.EXECUTION_MODE> |
Kernel.EXECUTION_MODE.getDefaultExecutionModes()
Deprecated.
|
(package private) static java.util.LinkedHashSet<Kernel.EXECUTION_MODE> |
Kernel.EXECUTION_MODE.getExecutionModeFromString(java.lang.String executionMode)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Kernel.addExecutionModes(Kernel.EXECUTION_MODE... platforms)
Deprecated.
See
Kernel.EXECUTION_MODE .
set possible fallback path for execution modes. for example setExecutionFallbackPath(GPU,CPU,JTP) will try to use the GPU if it fails it will fall back to OpenCL CPU and finally it will try JTP. |
void |
Kernel.setExecutionMode(Kernel.EXECUTION_MODE _executionMode)
Deprecated.
See
Kernel.EXECUTION_MODE
Set the execution mode. This should be regarded as a request. The real mode will be determined at runtime based on the availability of OpenCL and the characteristics of the workload. |
void |
Kernel.setExecutionModeWithoutFallback(Kernel.EXECUTION_MODE _executionMode) |
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
Kernel.EXECUTION_MODE.anyOpenCL(java.util.LinkedHashSet<Kernel.EXECUTION_MODE> _executionModes)
Deprecated.
|