Package | Description |
---|---|
com.aparapi |
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. |
static Kernel.EXECUTION_MODE |
Kernel.EXECUTION_MODE.valueOf(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 |
---|---|
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) |
Copyright © 2016 Syncleus. All rights reserved.