echuraev added a comment.

This diagnostic was added in this commit: https://reviews.llvm.org/rL289979
It is something like that: "use of undeclared identifier 'double2'; did you 
mean 'double'?"
This message isn't clear enough and it is difficult to understand that I forgot 
to enable cl_khr_fp64 extension. May be it will be better to change this 
diagnostic message to something like that: "use of type 'double2' (vector of 2 
'double' values) requires cl_khr_fp64 extension to be enabled"


https://reviews.llvm.org/D27917



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D27917: [OpenCL] Impr... Egor Churaev via Phabricator via cfe-commits

Reply via email to