In OpenCL 3.0 feature macros were added but however, the extension spec has remained with the following statement:
A unique name string of the form "clkhr" is associated with each extension. If the extension is supported by an implementation, this string will be present in the implementation’s CL_PLATFORM_EXTENSIONS string or CL_DEVICE_EXTENSIONS string.
As a matter of fact, that doesn't regulate EXT and vendor extensions...
Some extensions start to appear with feature macros such as cl_ext_float_atomics while others stay with cl_ext_<name>.
Could we avoid different schemes for macros and just use one of the schemes?
In OpenCL 3.0 feature macros were added but however, the extension spec has remained with the following statement:
As a matter of fact, that doesn't regulate EXT and vendor extensions...
Some extensions start to appear with feature macros such as
cl_ext_float_atomics
while others stay withcl_ext_<name>
.Could we avoid different schemes for macros and just use one of the schemes?