[PATCH] D73942: [hip] Properly populate macros based on host processor.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 4 12:23:18 PST 2020


tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.

Thank you for adding the escape hatch option.



================
Comment at: clang/include/clang/Driver/Options.td:552
 
+def hip_use_aux_triple_only : Flag<["--"], "hip-use-aux-triple-only">,
+  InternalDriverOpt, HelpText<"Prepare '-aux-triple' only without populating "
----------------
I think `gpu-` prefix would work better as it's common for HIP and CUDA.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73942





More information about the cfe-commits mailing list