Package com.aparapi.examples.progress
Class LongRunningKernel
java.lang.Object
com.aparapi.Kernel
com.aparapi.examples.progress.LongRunningKernel
- All Implemented Interfaces:
Cloneable
public class LongRunningKernel
extends com.aparapi.Kernel
Kernel which performs very many meaningless calculations, used to demonstrate progress tracking and cancellation of multi-pass Kernels.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LongRunningKernel()
-
Method Summary
Methods inherited from class com.aparapi.Kernel
addExecutionModes, cancelMultiPass, cleanUpArrays, clone, dispose, execute, execute, execute, execute, execute, execute, executeFallbackAlgorithm, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, getAccumulatedExecutionTime, getAccumulatedExecutionTimeAllThreads, getAccumulatedExecutionTimeCurrentThread, getCancelState, getConversionTime, getCurrentPass, getExecutionMode, getExecutionTime, getKernelState, getMappedMethodName, getProfileInfo, getProfileReportCurrentThread, getProfileReportLastThread, getTargetDevice, hasFallbackAlgorithm, hasNextExecutionMode, invalidateCaches, isAllowDevice, isAutoCleanUpArrays, isExecuting, isExplicit, isMappedMethod, isOpenCLDelegateMethod, isRunningCL, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, registerProfileReportObserver, setAutoCleanUpArrays, setExecutionMode, setExecutionModeWithoutFallback, setExplicit, setFallbackExecutionMode, toString, tryNextExecutionMode, usesAtomic32, usesAtomic64
-
Field Details
-
RANGE
public static final int RANGE- See Also:
- Constant Field Values
-
data
public final long[] data
-
-
Constructor Details
-
LongRunningKernel
public LongRunningKernel()
-
-
Method Details