3.3 on OpenCL 1.1 device (static storage specifier)

asked 2018-01-08 15:37:18 -0500

eudoxos gravatar image

updated 2018-01-08 15:37:31 -0500

I am running OpenCL 3.3 and I'd like to use the AMD Cayman GPU (OpenCL 1.1. Mesa 17.2.2). While OpenCL does not support static storage specifier, it can be enabled on AMD chips as an extension, as done e.g. here:

#ifdef cl_clang_storage_class_specifiers
    #pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable

Should I report this as bug so that those lines could be added to the respective kernels? Is there some different workaround, such as setting OpenCL kernel compilation flags?


edit retag flag offensive close merge delete