[PATCH] D100552: [HIP] Diagnose compiling kernel without offload arch

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 15 09:14:14 PDT 2021


aaron.ballman added a comment.

Drive-by comment on the diagnostic wording.



================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:8260
+def err_hip_kern_without_gpu : Error<
+  "compile HIP kernel without specifying offload arch is not allowed">,
+  DefaultFatal;
----------------



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

https://reviews.llvm.org/D100552



More information about the cfe-commits mailing list