Uses of Class
com.aparapi.Kernel
-
Packages that use Kernel Package Description com.aparapi com.aparapi.internal.jni com.aparapi.internal.kernel com.aparapi.util.swing -
-
Uses of Kernel in com.aparapi
Fields in com.aparapi with type parameters of type Kernel Modifier and Type Field Description private java.lang.Class<? extends Kernel>
ProfileReport. kernelClass
Methods in com.aparapi that return Kernel Modifier and Type Method Description Kernel
Kernel. clone()
When using a Java Thread Pool Aparapi uses clone to copy the initial instance to each thread.Kernel
Kernel. compile(Device _device)
Force pre-compilation of the kernel for a given device, without executing it.Kernel
Kernel. compile(java.lang.String _entrypoint, Device _device)
Force pre-compilation of the kernel for a given device, without executing it.Kernel
Kernel.Entry. execute(Range _range)
Kernel
Kernel. execute(int _range)
Start execution of_range
kernels.Kernel
Kernel. execute(int _range, int _passes)
Start execution of_passes
iterations over the_range
of kernels.Kernel
Kernel. execute(Range _range)
Start execution of_range
kernels.Kernel
Kernel. execute(Range _range, int _passes)
Start execution of_passes
iterations of_range
kernels.Kernel
Kernel. execute(java.lang.String _entrypoint, Range _range)
Start execution ofglobalSize
kernels for the given entrypoint.Kernel
Kernel. execute(java.lang.String _entrypoint, Range _range, int _passes)
Start execution ofglobalSize
kernels for the given entrypoint.Kernel
Kernel. get(boolean[] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(boolean[][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(boolean[][][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(byte[] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(byte[][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(byte[][][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(char[] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(char[][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(char[][][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(double[] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(double[][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(double[][][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(float[] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(float[][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(float[][][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(int[] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(int[][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(int[][][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(long[] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(long[][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. get(long[][][] array)
Enqueue a request to return this buffer from the GPU.Kernel
Kernel. put(boolean[] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(boolean[][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(boolean[][][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(byte[] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(byte[][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(byte[][][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(char[] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(char[][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(char[][][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(double[] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(double[][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(double[][][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(float[] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(float[][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(float[][][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(int[] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(int[][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(int[][][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(long[] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(long[][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedKernel
Kernel. put(long[][][] array)
Tag this array so that it is explicitly enqueued before the kernel is executedMethods in com.aparapi that return types with arguments of type Kernel Modifier and Type Method Description java.lang.Class<? extends Kernel>
ProfileReport. getKernelClass()
Retrieves the class of the kernel to which this profile report pertains toMethod parameters in com.aparapi with type arguments of type Kernel Modifier and Type Method Description void
IProfileReportObserver. receiveReport(java.lang.Class<? extends Kernel> kernelClass, Device device, java.lang.ref.WeakReference<ProfileReport> profileInfo)
The listener method will be invoked each time a profile report becomes available for each Aparapi Kernel which has a registered observer.
Note1: A report will be generated by a thread executing a kernel.Constructor parameters in com.aparapi with type arguments of type Kernel Constructor Description ProfileReport(long _threadId, java.lang.Class<? extends Kernel> clazz, Device _device)
Creates a profile report pertaining to a given thread that executed kernel class on the specified device. -
Uses of Kernel in com.aparapi.internal.jni
Methods in com.aparapi.internal.jni with parameters of type Kernel Modifier and Type Method Description protected long
KernelRunnerJNI. initJNI(Kernel _kernel, OpenCLDevice _device, int _flags)
TODO: synchronized to avoid race in clGetPlatformIDs() in OpenCL lib problem should fixed in some future OpenCL version -
Uses of Kernel in com.aparapi.internal.kernel
Fields in com.aparapi.internal.kernel declared as Kernel Modifier and Type Field Description private Kernel
KernelRunner. kernel
Fields in com.aparapi.internal.kernel with type parameters of type Kernel Modifier and Type Field Description private java.lang.Class<? extends Kernel>
KernelDeviceProfile. kernel
private java.lang.Class<? extends Kernel>
KernelPreferences. kernelClass
private java.lang.Class<? extends Kernel>
KernelProfile. kernelClass
private java.lang.Class<? extends Kernel>
PreferencesWrapper. klass
private static java.util.HashMap<java.lang.Class<? extends Kernel>,java.lang.String>
KernelRunner. openCLCache
private java.util.LinkedHashMap<java.lang.Class<? extends Kernel>,PreferencesWrapper>
KernelManager. preferences
private java.util.LinkedHashMap<java.lang.Class<? extends Kernel>,KernelProfile>
KernelManager. profiles
private java.util.LinkedHashMap<java.lang.Class<? extends Kernel>,Kernel>
KernelManager. sharedInstances
private java.util.LinkedHashMap<java.lang.Class<? extends Kernel>,Kernel>
KernelManager. sharedInstances
Methods in com.aparapi.internal.kernel with type parameters of type Kernel Modifier and Type Method Description private <T extends Kernel>
TKernelManager. getSharedKernelInstance(java.lang.Class<T> kernelClass)
static <T extends Kernel>
TKernelManager. sharedKernelInstance(java.lang.Class<T> kernelClass)
This method returns a shared instance of a given Kernel subclass.Methods in com.aparapi.internal.kernel that return Kernel Modifier and Type Method Description Kernel
KernelRunner. compile(java.lang.String _entrypoint, Device device)
Kernel
KernelRunner. execute(java.lang.String _entrypoint, Range _range, int _passes)
private Kernel
KernelRunner. executeInternalInner(KernelRunner.ExecutionSettings _settings, Device aparapiDevice, boolean compileOnly)
private Kernel
KernelRunner. executeInternalOuter(KernelRunner.ExecutionSettings _settings)
private Kernel
KernelRunner. executeOpenCL(Device device, KernelRunner.ExecutionSettings _settings)
private Kernel
KernelRunner. fallBackByExecutionMode(KernelRunner.ExecutionSettings _settings)
private Kernel
KernelRunner. fallBackToNextDevice(Device device, KernelRunner.ExecutionSettings _settings, java.lang.Exception _exception)
private Kernel
KernelRunner. fallBackToNextDevice(Device device, KernelRunner.ExecutionSettings _settings, java.lang.Exception _exception, boolean _silently)
private Kernel
KernelRunner. fallBackToNextDevice(Device device, KernelRunner.ExecutionSettings _settings, java.lang.String _reason)
Methods in com.aparapi.internal.kernel that return types with arguments of type Kernel Modifier and Type Method Description java.lang.Class<? extends Kernel>
KernelPreferences. getKernelClass()
What Kernel subclass is this the preferences for?java.lang.Class<? extends Kernel>
PreferencesWrapper. getKernelClass()
Methods in com.aparapi.internal.kernel with parameters of type Kernel Modifier and Type Method Description KernelPreferences
KernelManager. getPreferences(Kernel kernel)
Device
KernelPreferences. getPreferredDevice(Kernel kernel)
java.util.List<Device>
KernelPreferences. getPreferredDevices(Kernel kernel)
void
KernelManager. setPreferredDevices(Kernel _kernel, java.util.LinkedHashSet<Device> _devices)
Method parameters in com.aparapi.internal.kernel with type arguments of type Kernel Modifier and Type Method Description KernelProfile
KernelManager. getProfile(java.lang.Class<? extends Kernel> kernelClass)
Constructors in com.aparapi.internal.kernel with parameters of type Kernel Constructor Description KernelRunner(Kernel _kernel)
Create a KernelRunner for a specific Kernel instance.Constructor parameters in com.aparapi.internal.kernel with type arguments of type Kernel Constructor Description KernelDeviceProfile(KernelProfile parentProfile, java.lang.Class<? extends Kernel> kernel, Device device)
KernelPreferences(KernelManager manager, java.lang.Class<? extends Kernel> kernelClass)
KernelProfile(java.lang.Class<? extends Kernel> _kernelClass)
PreferencesWrapper(java.lang.Class<? extends Kernel> klass, KernelPreferences preferences)
-
Uses of Kernel in com.aparapi.util.swing
Fields in com.aparapi.util.swing declared as Kernel Modifier and Type Field Description private Kernel
MultiPassKernelSwingWorker. kernel
Methods in com.aparapi.util.swing with parameters of type Kernel Modifier and Type Method Description protected abstract void
MultiPassKernelSwingWorker. executeKernel(Kernel kernel)
This method must invoke one of thekernel
's execute() methods.Constructors in com.aparapi.util.swing with parameters of type Kernel Constructor Description MultiPassKernelSwingWorker(Kernel kernel)
-