[PATCH] D68394: [HIP] Enable specifying different default gpu arch for HIP/CUDA.
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 3 09:37:46 PDT 2019
yaxunl added inline comments.
================
Comment at: clang/lib/Driver/Driver.cpp:2655
+ : CudaActionBuilderBase(C, Args, Inputs, Action::OFK_HIP) {
+ DefaultCudaArch = CudaArch::GFX600;
+ }
----------------
hliao wrote:
> Sam, could you let me know which reasonable default arch should we use here?
I think it should be gfx803 since as far as I know it is the lowest one that supports HIP.
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