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_rangekernels.Kernel.execute(int _range, int _passes) Start execution of_passesiterations over the_rangeof kernels.Start execution of_rangekernels.Start execution of_passesiterations of_rangekernels.Start execution ofglobalSizekernels for the given entrypoint.Start execution ofglobalSizekernels 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 TypeMethodDescriptionvoidIProfileReportObserver.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 longKernelRunnerJNI.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.kernelKernelPreferences.kernelClassKernelProfile.kernelClassPreferencesWrapper.klassKernelRunner.openCLCacheprivate LinkedHashMap<Class<? extends Kernel>, PreferencesWrapper> KernelManager.preferencesprivate LinkedHashMap<Class<? extends Kernel>, KernelProfile> KernelManager.profilesprivate LinkedHashMap<Class<? extends Kernel>, Kernel> KernelManager.sharedInstancesprivate LinkedHashMap<Class<? extends Kernel>, Kernel> KernelManager.sharedInstancesMethods 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 KernelKernelRunner.executeInternalInner(KernelRunner.ExecutionSettings _settings, Device aparapiDevice, boolean compileOnly) private KernelKernelRunner.executeInternalOuter(KernelRunner.ExecutionSettings _settings) private KernelKernelRunner.executeOpenCL(Device device, KernelRunner.ExecutionSettings _settings) private KernelKernelRunner.fallBackByExecutionMode(KernelRunner.ExecutionSettings _settings) private KernelKernelRunner.fallBackToNextDevice(Device device, KernelRunner.ExecutionSettings _settings, Exception _exception) private KernelKernelRunner.fallBackToNextDevice(Device device, KernelRunner.ExecutionSettings _settings, Exception _exception, boolean _silently) private KernelKernelRunner.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) voidKernelManager.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 voidMultiPassKernelSwingWorker.executeKernel(Kernel kernel) This method must invoke one of thekernel's execute() methods.Constructors in com.aparapi.util.swing with parameters of type Kernel