On 19.01.2017 23:43, Liu, Yaxun (Sam) wrote:
I think the supported extensions for a target should be as accurate as
possible, for it to be useful. Setting all
extensions to be supported on all targets will defeat its purpose.
I agree on the first part, but arrive at the exact opposite result
Hi,
I noticed a change from clang 3.8 to 3.9, that it disabled all OpenCL extension
pragmas per default.
This broke pocl on e.g. ARM for LLVM 3.9
(https://github.com/pocl/pocl/issues/409).
Example:
$ echo "#pragma OPENCL EXTENSION cl_khr_icd: enable" > hello.cl
$ clang -emit-llvm -x cl -o tmp