[PATCH] D69268: [HIP] Add option -fgpu-allow-device-init

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 22 08:55:10 PDT 2019


tra accepted this revision.
tra added a comment.

Thank you for adding the warning. One small nit about the name. LGTM otherwise.



================
Comment at: include/clang/Basic/DiagnosticCommonKinds.td:308
+// HIP
+def warn_ignore_hip_only_option : Warning<
+  "'%0' is ignored since it is only supported for HIP">,
----------------
`warn_ignore*d*_hip_only_option` ?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69268/new/

https://reviews.llvm.org/D69268





More information about the cfe-commits mailing list