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. kernelClassMethods in com.aparapi that return Kernel Modifier and Type Method Description KernelKernel. clone()When using a Java Thread Pool Aparapi uses clone to copy the initial instance to each thread.KernelKernel. compile(Device _device)Force pre-compilation of the kernel for a given device, without executing it.KernelKernel. compile(java.lang.String _entrypoint, Device _device)Force pre-compilation of the kernel for a given device, without executing it.KernelKernel.Entry. execute(Range _range)KernelKernel. execute(int _range)Start execution of_rangekernels.KernelKernel. execute(int _range, int _passes)Start execution of_passesiterations over the_rangeof kernels.KernelKernel. execute(Range _range)Start execution of_rangekernels.KernelKernel. execute(Range _range, int _passes)Start execution of_passesiterations of_rangekernels.KernelKernel. execute(java.lang.String _entrypoint, Range _range)Start execution ofglobalSizekernels for the given entrypoint.KernelKernel. execute(java.lang.String _entrypoint, Range _range, int _passes)Start execution ofglobalSizekernels for the given entrypoint.KernelKernel. get(boolean[] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(boolean[][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(boolean[][][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(byte[] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(byte[][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(byte[][][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(char[] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(char[][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(char[][][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(double[] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(double[][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(double[][][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(float[] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(float[][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(float[][][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(int[] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(int[][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(int[][][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(long[] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(long[][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. get(long[][][] array)Enqueue a request to return this buffer from the GPU.KernelKernel. put(boolean[] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(boolean[][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(boolean[][][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(byte[] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(byte[][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(byte[][][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(char[] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(char[][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(char[][][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(double[] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(double[][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(double[][][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(float[] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(float[][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(float[][][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(int[] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(int[][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(int[][][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(long[] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. put(long[][] array)Tag this array so that it is explicitly enqueued before the kernel is executedKernelKernel. 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 voidIProfileReportObserver. 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 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 Kernel Modifier and Type Field Description private KernelKernelRunner. kernelFields in com.aparapi.internal.kernel with type parameters of type Kernel Modifier and Type Field Description private java.lang.Class<? extends Kernel>KernelDeviceProfile. kernelprivate java.lang.Class<? extends Kernel>KernelPreferences. kernelClassprivate java.lang.Class<? extends Kernel>KernelProfile. kernelClassprivate java.lang.Class<? extends Kernel>PreferencesWrapper. klassprivate static java.util.HashMap<java.lang.Class<? extends Kernel>,java.lang.String>KernelRunner. openCLCacheprivate java.util.LinkedHashMap<java.lang.Class<? extends Kernel>,PreferencesWrapper>KernelManager. preferencesprivate java.util.LinkedHashMap<java.lang.Class<? extends Kernel>,KernelProfile>KernelManager. profilesprivate java.util.LinkedHashMap<java.lang.Class<? extends Kernel>,Kernel>KernelManager. sharedInstancesprivate java.util.LinkedHashMap<java.lang.Class<? extends Kernel>,Kernel>KernelManager. sharedInstancesMethods 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 KernelKernelRunner. compile(java.lang.String _entrypoint, Device device)KernelKernelRunner. execute(java.lang.String _entrypoint, Range _range, int _passes)private 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, java.lang.Exception _exception)private KernelKernelRunner. fallBackToNextDevice(Device device, KernelRunner.ExecutionSettings _settings, java.lang.Exception _exception, boolean _silently)private KernelKernelRunner. 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 KernelPreferencesKernelManager. getPreferences(Kernel kernel)DeviceKernelPreferences. getPreferredDevice(Kernel kernel)java.util.List<Device>KernelPreferences. getPreferredDevices(Kernel kernel)voidKernelManager. 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 KernelProfileKernelManager. 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 KernelMultiPassKernelSwingWorker. kernelMethods in com.aparapi.util.swing with parameters of type Kernel Modifier and Type Method Description protected 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 Constructor Description MultiPassKernelSwingWorker(Kernel kernel)
-