[PATCH] D68394: [HIP] Enable specifying different default gpu arch for HIP/CUDA.

Michael Liao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 3 07:32:31 PDT 2019


hliao marked an inline comment as done.
hliao added inline comments.


================
Comment at: clang/lib/Driver/Driver.cpp:2655
+        : CudaActionBuilderBase(C, Args, Inputs, Action::OFK_HIP) {
+      DefaultCudaArch = CudaArch::GFX600;
+    }
----------------
Sam, could you let me know which reasonable default arch should we use here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68394





More information about the cfe-commits mailing list