Uses of Class
com.aparapi.Kernel
Packages that use Kernel
Package
Description
-
Uses of Kernel in com.aparapi
Fields in com.aparapi with type parameters of type KernelMethods in com.aparapi that return KernelModifier and TypeMethodDescriptionKernel.clone()
When using a Java Thread Pool Aparapi uses clone to copy the initial instance to each thread.Force pre-compilation of the kernel for a given device, without executing it.Force pre-compilation of the kernel for a given device, without executing it.Kernel.execute
(int _range) Start execution of_range
kernels.Kernel.execute
(int _range, int _passes) Start execution of_passes
iterations over the_range
of kernels.Start execution of_range
kernels.Start execution of_passes
iterations of_range
kernels.Start execution ofglobalSize
kernels for the given entrypoint.Start execution ofglobalSize
kernels for the given entrypoint.Kernel.get
(boolean[] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(boolean[][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(boolean[][][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(byte[] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(byte[][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(byte[][][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(char[] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(char[][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(char[][][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(double[] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(double[][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(double[][][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(float[] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(float[][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(float[][][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(int[] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(int[][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(int[][][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(long[] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(long[][] array) Enqueue a request to return this buffer from the GPU.Kernel.get
(long[][][] array) Enqueue a request to return this buffer from the GPU.Kernel.put
(boolean[] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(boolean[][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(boolean[][][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(byte[] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(byte[][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(byte[][][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(char[] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(char[][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(char[][][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(double[] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(double[][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(double[][][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(float[] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(float[][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(float[][][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(int[] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(int[][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(int[][][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(long[] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.put
(long[][] array) Tag this array so that it is explicitly enqueued before the kernel is executedKernel.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 KernelModifier and TypeMethodDescriptionProfileReport.getKernelClass()
Retrieves the class of the kernel to which this profile report pertains toMethod parameters in com.aparapi with type arguments of type KernelModifier and TypeMethodDescriptionvoid
IProfileReportObserver.receiveReport
(Class<? extends Kernel> kernelClass, Device device, 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 KernelModifierConstructorDescriptionProfileReport
(long _threadId, 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 KernelModifier and TypeMethodDescriptionprotected 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 KernelFields in com.aparapi.internal.kernel with type parameters of type KernelModifier and TypeFieldDescriptionKernelDeviceProfile.kernel
KernelPreferences.kernelClass
KernelProfile.kernelClass
PreferencesWrapper.klass
KernelRunner.openCLCache
private LinkedHashMap
<Class<? extends Kernel>, PreferencesWrapper> KernelManager.preferences
private LinkedHashMap
<Class<? extends Kernel>, KernelProfile> KernelManager.profiles
private LinkedHashMap
<Class<? extends Kernel>, Kernel> KernelManager.sharedInstances
private LinkedHashMap
<Class<? extends Kernel>, Kernel> KernelManager.sharedInstances
Methods in com.aparapi.internal.kernel with type parameters of type KernelModifier and TypeMethodDescriptionprivate <T extends Kernel>
TKernelManager.getSharedKernelInstance
(Class<T> kernelClass) static <T extends Kernel>
TKernelManager.sharedKernelInstance
(Class<T> kernelClass) This method returns a shared instance of a given Kernel subclass.Methods in com.aparapi.internal.kernel that return KernelModifier and TypeMethodDescriptionprivate 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, Exception _exception) private Kernel
KernelRunner.fallBackToNextDevice
(Device device, KernelRunner.ExecutionSettings _settings, Exception _exception, boolean _silently) private Kernel
KernelRunner.fallBackToNextDevice
(Device device, KernelRunner.ExecutionSettings _settings, String _reason) Methods in com.aparapi.internal.kernel that return types with arguments of type KernelModifier and TypeMethodDescriptionKernelPreferences.getKernelClass()
What Kernel subclass is this the preferences for?PreferencesWrapper.getKernelClass()
Methods in com.aparapi.internal.kernel with parameters of type KernelModifier and TypeMethodDescriptionKernelManager.getPreferences
(Kernel kernel) KernelPreferences.getPreferredDevice
(Kernel kernel) KernelPreferences.getPreferredDevices
(Kernel kernel) void
KernelManager.setPreferredDevices
(Kernel _kernel, LinkedHashSet<Device> _devices) Method parameters in com.aparapi.internal.kernel with type arguments of type KernelConstructors in com.aparapi.internal.kernel with parameters of type KernelModifierConstructorDescriptionKernelRunner
(Kernel _kernel) Create a KernelRunner for a specific Kernel instance.Constructor parameters in com.aparapi.internal.kernel with type arguments of type KernelModifierConstructorDescriptionKernelDeviceProfile
(KernelProfile parentProfile, Class<? extends Kernel> kernel, Device device) KernelPreferences
(KernelManager manager, Class<? extends Kernel> kernelClass) KernelProfile
(Class<? extends Kernel> _kernelClass) PreferencesWrapper
(Class<? extends Kernel> klass, KernelPreferences preferences) -
Uses of Kernel in com.aparapi.util.swing
Fields in com.aparapi.util.swing declared as KernelMethods in com.aparapi.util.swing with parameters of type KernelModifier and TypeMethodDescriptionprotected 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