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 |
Modifier and Type | Field and Description |
---|---|
private OpenCLDevice |
Range.device |
Modifier and Type | Method and Description |
---|---|
static OpenCLDevice |
OpenCLDevice.select(OpenCLDevice.DeviceComparitor _deviceComparitor) |
static OpenCLDevice |
OpenCLDevice.select(OpenCLDevice.DeviceComparitor _deviceComparitor,
Device.TYPE _type) |
static OpenCLDevice |
OpenCLDevice.select(OpenCLDevice.DeviceSelector _deviceSelector) |
OpenCLDevice |
OpenCLDevice.DeviceSelector.select(OpenCLDevice _device) |
OpenCLDevice |
OpenCLDevice.DeviceComparitor.select(OpenCLDevice _deviceLhs,
OpenCLDevice _deviceRhs) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<OpenCLDevice> |
OpenCLDevice.listDevices(Device.TYPE type)
List OpenCLDevices of a given TYPE, or all OpenCLDevices if type == null.
|
Modifier and Type | Method and 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.DeviceSelector.select(OpenCLDevice _device) |
OpenCLDevice |
OpenCLDevice.DeviceComparitor.select(OpenCLDevice _deviceLhs,
OpenCLDevice _deviceRhs) |
Modifier and Type | Method and 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
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
private OpenCLDevice |
OpenCLProgram.device |
Modifier and Type | Field and Description |
---|---|
private java.util.List<OpenCLDevice> |
OpenCLPlatform.devices |
Modifier and Type | Method and Description |
---|---|
OpenCLDevice |
OpenCLProgram.getDevice() |
Modifier and Type | Method and Description |
---|---|
java.util.List<OpenCLDevice> |
OpenCLPlatform.getOpenCLDevices() |
Modifier and Type | Method and Description |
---|---|
void |
OpenCLPlatform.addOpenCLDevice(OpenCLDevice device) |
OpenCLProgram |
OpenCLProgram.createProgram(OpenCLDevice context) |
Constructor and Description |
---|
OpenCLProgram(long _programId,
long _queueId,
long _contextId,
OpenCLDevice _device,
java.lang.String _source)
Full constructor
|
OpenCLProgram(OpenCLDevice _device,
java.lang.String _source)
Minimal constructor
|