[PATCH] D88668: [CUDA] Add support for 11.1

2021-03-08 Thread kiwixz via Phabricator via cfe-commits
kiwixz abandoned this revision. kiwixz added a comment. Fixed in a much proper way in D89832 . Thanks @tra! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D88668/new/ https://reviews.llvm.org/D88668 ___

[PATCH] D88668: [CUDA] Add support for 11.1

2020-11-02 Thread Artem Belevich via Phabricator via cfe-commits
tra added a comment. Herald added a subscriber: dexonsmith. This patch is also missing corresponding LLVM changes that define features for sm_86 and ptx71. See https://github.com/llvm/llvm-project/blob/master/llvm/lib/Target/NVPTX/NVPTX.td Comment at: clang/lib/Driver/ToolCh

[PATCH] D88668: [CUDA] Add support for 11.1

2020-10-01 Thread Artem Belevich via Phabricator via cfe-commits
tra added a comment. Generally speaking the default should be conservative. It does us no good if we generate PTX 99.99, but discover that ptxas does not support it. Granted, these days 7.0 is also the wrong default as it's pretty ancient. IMO bumping it to 9.0 and GPU arch to sm_30 would be se

[PATCH] D88668: [CUDA] Add support for 11.1

2020-10-01 Thread kiwixz via Phabricator via cfe-commits
kiwixz added a comment. In D88668#2306393 , @jlebar wrote: >> It looks like 11.1 doesn't have a version.txt file > > Yikes, this is a problem if we can't tell the difference between CUDA > versions! It looks like a blunder from NVIDIA, CUDA 11.1 actually

[PATCH] D88668: [CUDA] Add support for 11.1

2020-10-01 Thread Justin Lebar via Phabricator via cfe-commits
jlebar added a comment. > It looks like 11.1 doesn't have a version.txt file Yikes, this is a problem if we can't tell the difference between CUDA versions! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D88668/new/ https://reviews.llvm.org/D88668

[PATCH] D88668: [CUDA] Add support for 11.1

2020-10-01 Thread kiwixz via Phabricator via cfe-commits
kiwixz created this revision. kiwixz added reviewers: jlebar, tra. kiwixz added a project: clang. Herald added subscribers: cfe-commits, yaxunl, jholewinski. kiwixz requested review of this revision. It looks like 11.1 doesn't have a version.txt file, so I changed the default guess in this case f