public class AfKernel
extends com.aparapi.Kernel
| Constructor and Description |
|---|
AfKernel()
no values on the constructor, we will reuse the kernel after init
|
| Modifier and Type | Method and Description |
|---|---|
int[][] |
getResult()
Getter for the field
result. |
void |
init(double _cx1,
double _cy1,
double _cx2,
double _cy2,
int _W,
int _H,
int _max_iterations)
sets the parameters, send only few double to the device and a pointer to an
array to retrieve iterations
|
void |
run()
just executes the "simple" math on a pixel
|
addExecutionModes, cancelMultiPass, cleanUpArrays, clone, compile, compile, 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, getKernelCompileWorkGroupSize, getKernelLocalMemSizeInUse, getKernelMaxWorkGroupSize, getKernelMinimumPrivateMemSizeInUsePerWorkItem, getKernelPreferredWorkGroupSizeMultiple, 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, usesAtomic64public AfKernel()
public void init(double _cx1,
double _cy1,
double _cx2,
double _cy2,
int _W,
int _H,
int _max_iterations)
_cx1 - a double._cy1 - a double._cx2 - a double._cy2 - a double._W - a int._H - a int._max_iterations - a int.public void run()
run in class com.aparapi.Kernelpublic int[][] getResult()
Getter for the field result.
int objects.Copyright © 2021 Syncleus. All rights reserved.