Uses of Class
com.aparapi.device.OpenCLDevice
-
Packages that use OpenCLDevice Package Description com.aparapi com.aparapi.device Contains classes representing OpenCL-capable devices, and "virtual" (java) devices which execute kernels using java.com.aparapi.internal.jni com.aparapi.internal.kernel com.aparapi.internal.opencl -
-
Uses of OpenCLDevice in com.aparapi
Fields in com.aparapi declared as OpenCLDevice Modifier and Type Field Description private OpenCLDevice
Range. device
-
Uses of OpenCLDevice in com.aparapi.device
Methods in com.aparapi.device that return OpenCLDevice Modifier and Type Method Description OpenCLDevice
OpenCLDevice.DeviceComparitor. select(OpenCLDevice _deviceLhs, OpenCLDevice _deviceRhs)
OpenCLDevice
OpenCLDevice.DeviceSelector. select(OpenCLDevice _device)
static OpenCLDevice
OpenCLDevice. select(OpenCLDevice.DeviceComparitor _deviceComparitor)
static OpenCLDevice
OpenCLDevice. select(OpenCLDevice.DeviceComparitor _deviceComparitor, Device.TYPE _type)
static OpenCLDevice
OpenCLDevice. select(OpenCLDevice.DeviceSelector _deviceSelector)
Methods in com.aparapi.device that return types with arguments of type OpenCLDevice Modifier and Type Method Description static java.util.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 OpenCLDevice Modifier and Type Method Description void
IOpenCLDeviceConfigurator. configure(OpenCLDevice device)
Called for each OpenCL device detected by Aparapi.
Gives the client application an opportunity to refine the device configuration parameters.OpenCLDevice
OpenCLDevice.DeviceComparitor. select(OpenCLDevice _deviceLhs, OpenCLDevice _deviceRhs)
OpenCLDevice
OpenCLDevice.DeviceSelector. select(OpenCLDevice _device)
-
Uses of OpenCLDevice in com.aparapi.internal.jni
Methods in com.aparapi.internal.jni with parameters of type OpenCLDevice Modifier and Type Method Description OpenCLProgram
OpenCLJNI. createProgram(OpenCLDevice context, java.lang.String openCLSource)
protected OpenCLProgram
OpenCLJNI. createProgram(OpenCLDevice context, java.lang.String openCLSource, java.lang.String binaryKey)
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 OpenCLDevice in com.aparapi.internal.kernel
Methods in com.aparapi.internal.kernel that return types with arguments of type OpenCLDevice Modifier and Type Method Description protected java.util.Comparator<OpenCLDevice>
KernelManager. getDefaultAcceleratorComparator()
NB, returns -ve for the better device.protected java.util.Comparator<OpenCLDevice>
KernelManager. getDefaultGPUComparator()
NB, returns -ve for the better device.Methods in com.aparapi.internal.kernel with parameters of type OpenCLDevice Modifier and Type Method Description protected static boolean
KernelManager. selectLhs(OpenCLDevice _deviceLhs, OpenCLDevice _deviceRhs)
protected static boolean
KernelManager. selectLhsIfCUDA(OpenCLDevice _deviceLhs, OpenCLDevice _deviceRhs)
NVidia/CUDA architecture reports maxComputeUnits in a completely different context, i.e. -
Uses of OpenCLDevice in com.aparapi.internal.opencl
Fields in com.aparapi.internal.opencl declared as OpenCLDevice Modifier and Type Field Description private OpenCLDevice
OpenCLProgram. device
Fields in com.aparapi.internal.opencl with type parameters of type OpenCLDevice Modifier and Type Field Description private java.util.List<OpenCLDevice>
OpenCLPlatform. devices
Methods in com.aparapi.internal.opencl that return OpenCLDevice Modifier and Type Method Description OpenCLDevice
OpenCLProgram. getDevice()
Methods in com.aparapi.internal.opencl that return types with arguments of type OpenCLDevice Modifier and Type Method Description java.util.List<OpenCLDevice>
OpenCLPlatform. getOpenCLDevices()
Methods in com.aparapi.internal.opencl with parameters of type OpenCLDevice Modifier and Type Method Description void
OpenCLPlatform. addOpenCLDevice(OpenCLDevice device)
OpenCLProgram
OpenCLProgram. createProgram(OpenCLDevice context)
Constructors in com.aparapi.internal.opencl with parameters of type OpenCLDevice Constructor Description OpenCLProgram(long _programId, long _queueId, long _contextId, OpenCLDevice _device, java.lang.String _source)
Full constructorOpenCLProgram(OpenCLDevice _device, java.lang.String _source)
Minimal constructor
-