Login  Register

Re: Backwards compatibility between OpenCL 1.1 and 1.0

Posted by gouessej on Aug 28, 2012; 9:30pm
URL: https://forum.jogamp.org/Backwards-compatibility-between-OpenCL-1-1-and-1-0-tp4025926p4025927.html

Hi

You can check the availability of an extension by using CLPlatform.isExtensionAvailable(String extension) and you can use CLProcAddressTable.isFunctionAvailable(String function) to check the availability of a method. You can get the supported version by calling getVersion().

JOCL provides both a low level API and an high level API. The former looks like plain OpenCL whereas the latter is easier to use.
Julien Gouesse | Personal blog | Website