Class Main.BlackScholesKernel
java.lang.Object
com.aparapi.Kernel
com.aparapi.examples.blackscholes.Main.BlackScholesKernel
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Main
public static class Main.BlackScholesKernel
extends com.aparapi.Kernel
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BlackScholesKernel(int size)
-
Method Summary
Modifier and Type Method Description void
run()
void
showArray(float[] ary, String name, int count)
void
showResults(int count)
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
-
Constructor Details
-
BlackScholesKernel
public BlackScholesKernel(int size)
-
-
Method Details
-
run
public void run()- Specified by:
run
in classcom.aparapi.Kernel
-
showArray
-
showResults
public void showResults(int count)
-