[PATCH] D95974: [CUDA, NVPTX] Allow targeting sm_86 GPUs.
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 3 15:10:51 PST 2021
jdoerfert added a comment.
In D95974#2540352 <https://reviews.llvm.org/D95974#2540352>, @tra wrote:
>> So we add ptx72 but it's not used with sm_86, interesting.
>
> `ptx71` is the minimum/default requited PTX version for sm_86. If we compile with CUDA-11.2, clang will set the '+ptx72' as we may potentially need it in order to link in libdevice bitcode or if source code (e.g CUDA headers) has inline asm with instructions supported by CUDA-11.2.
I see, thanks :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95974/new/
https://reviews.llvm.org/D95974
More information about the llvm-commits
mailing list