[PATCH] D77923: OpenCL: Fix some missing predefined macros
Brian Sumner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 13 14:41:36 PDT 2020
b-sumner added a comment.
In my opinion, for on-line compile for OpenCL, the platform is responsible for setting `__OPENCL_VERSION__`. Also, it should be the platform's choice as to how to respond the image support query and how `__IMAGE_SUPPORT__` is set. For offline compile, it doesn't seem unreasonable to ask the developer to set these.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77923/new/
https://reviews.llvm.org/D77923
More information about the cfe-commits
mailing list