[PATCH] D77923: OpenCL: Fix some missing predefined macros
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 14 08:33:15 PDT 2020
Anastasia added a comment.
As for OpenCL C spec we should ideally add `__OPENCL_VERSION__` but I feel it should be taken from architecture or OS type... I think there were other cases where we needed something like an OpenCL runtime version in the triple too but I can't remember this now.
I can't think of any use case where this macro would be useful in the kernel code though.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77923/new/
https://reviews.llvm.org/D77923
More information about the cfe-commits
mailing list