[PATCH] D97058: [OpenCL] Refactor diagnostic for OpenCL extension/feature
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 22 08:04:22 PST 2021
Anastasia added a comment.
FYI, I would even be ok if we remove the need for enabling non-core features too but it is also fine to start from just core features. Thanks!
================
Comment at: clang/lib/Sema/Sema.cpp:360
setOpenCLExtensionForType(Context.DoubleTy, "cl_khr_fp64");
----------------
I think the same should apply to `double` not only `atomic_double`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97058/new/
https://reviews.llvm.org/D97058
More information about the cfe-commits
mailing list