[PATCH] D117137: [Driver] Add a flag cuda-device-triple

2022-01-12 Thread Justin Lebar via Phabricator via cfe-commits
jlebar added a comment. I defer to Art. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D117137/new/ https://reviews.llvm.org/D117137 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.ll

[PATCH] D117137: [Driver] Add a flag cuda-device-triple

2022-01-12 Thread Artem Belevich via Phabricator via cfe-commits
tra added a comment. I think instead of setting the triple directly from the command line, we should start with adding another `--cuda-gpu-arch` (AKA --offload-arch) variant and derive the triple and other parameters from it. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D117137: [Driver] Add a flag cuda-device-triple

2022-01-12 Thread Daniele Castagna via Phabricator via cfe-commits
dcastagna created this revision. Herald added subscribers: dang, yaxunl. dcastagna requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. This CL adds a flag "cuda-device-triple" to clang driver that can be used to override the triple passed to th