Uses of Class
com.aparapi.device.OpenCLDevice
Packages that use OpenCLDevice
Package
Description
Contains classes representing OpenCL-capable devices, and "virtual" (java) devices which execute kernels using java.
-
Uses of OpenCLDevice in com.aparapi.device
Methods in com.aparapi.device that return OpenCLDeviceModifier and TypeMethodDescriptionOpenCLDevice.DeviceComparitor.select(OpenCLDevice _deviceLhs, OpenCLDevice _deviceRhs) OpenCLDevice.DeviceSelector.select(OpenCLDevice _device) static OpenCLDeviceOpenCLDevice.select(OpenCLDevice.DeviceComparitor _deviceComparitor) static OpenCLDeviceOpenCLDevice.select(OpenCLDevice.DeviceComparitor _deviceComparitor, Device.TYPE _type) static OpenCLDeviceOpenCLDevice.select(OpenCLDevice.DeviceSelector _deviceSelector) Methods in com.aparapi.device that return types with arguments of type OpenCLDeviceModifier and TypeMethodDescriptionstatic List<OpenCLDevice> OpenCLDevice.listDevices(Device.TYPE type) List OpenCLDevices of a given TYPE, or all OpenCLDevices if type == null.Methods in com.aparapi.device with parameters of type OpenCLDeviceModifier and TypeMethodDescriptionvoidIOpenCLDeviceConfigurator.configure(OpenCLDevice device) Called for each OpenCL device detected by Aparapi.
Gives the client application an opportunity to refine the device configuration parameters.OpenCLDevice.DeviceComparitor.select(OpenCLDevice _deviceLhs, OpenCLDevice _deviceRhs) OpenCLDevice.DeviceSelector.select(OpenCLDevice _device) -
Uses of OpenCLDevice in com.aparapi.internal.jni
Methods in com.aparapi.internal.jni with parameters of type OpenCLDeviceModifier and TypeMethodDescriptionOpenCLJNI.createProgram(OpenCLDevice context, String openCLSource) protected OpenCLProgramOpenCLJNI.createProgram(OpenCLDevice context, String openCLSource, String binaryKey) 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 OpenCLDevice in com.aparapi.internal.kernel
Methods in com.aparapi.internal.kernel that return types with arguments of type OpenCLDeviceModifier and TypeMethodDescriptionprotected Comparator<OpenCLDevice> KernelManager.getDefaultAcceleratorComparator()NB, returns -ve for the better device.protected Comparator<OpenCLDevice> KernelManager.getDefaultGPUComparator()NB, returns -ve for the better device.Methods in com.aparapi.internal.kernel with parameters of type OpenCLDeviceModifier and TypeMethodDescriptionprotected static booleanKernelManager.selectLhs(OpenCLDevice _deviceLhs, OpenCLDevice _deviceRhs) protected static booleanKernelManager.selectLhsIfCUDA(OpenCLDevice _deviceLhs, OpenCLDevice _deviceRhs) NVidia/CUDA architecture reports maxComputeUnits in a completely different context, i.e. maxComputeUnits is not same as (is much less than) the number of OpenCL cores available. -
Uses of OpenCLDevice in com.aparapi.internal.opencl
Methods in com.aparapi.internal.opencl that return OpenCLDeviceMethods in com.aparapi.internal.opencl that return types with arguments of type OpenCLDeviceMethods in com.aparapi.internal.opencl with parameters of type OpenCLDeviceModifier and TypeMethodDescriptionvoidOpenCLPlatform.addOpenCLDevice(OpenCLDevice device) OpenCLProgram.createProgram(OpenCLDevice context) Constructors in com.aparapi.internal.opencl with parameters of type OpenCLDeviceModifierConstructorDescriptionOpenCLProgram(long _programId, long _queueId, long _contextId, OpenCLDevice _device, String _source) Full constructorOpenCLProgram(OpenCLDevice _device, String _source) Minimal constructor