|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CLConfig
Interface for an OpenCL configuration, consisting of a platform and a list of devices.
Method Summary | |
---|---|
void |
addCLConfigListener(CLConfigListener clConfigListener)
Add the given CLConfigListener to be informed about
modifications in this configuration. |
java.util.List<org.jocl.cl_device_id> |
getDevices()
Returns an unmodifiable list containing the OpenCL devices |
org.jocl.cl_platform_id |
getPlatform()
Returns the OpenCL platform |
void |
removeCLConfigListener(CLConfigListener clConfigListener)
Remove the given CLConfigListener . |
Method Detail |
---|
org.jocl.cl_platform_id getPlatform()
java.util.List<org.jocl.cl_device_id> getDevices()
void addCLConfigListener(CLConfigListener clConfigListener)
CLConfigListener
to be informed about
modifications in this configuration.
clConfigListener
- The listener to addvoid removeCLConfigListener(CLConfigListener clConfigListener)
CLConfigListener
.
clConfigListener
- The listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |