[PATCH] D95974: [CUDA, NVPTX] Allow targeting sm_86 GPUs.

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 13:56:59 PST 2021


tra marked an inline comment as done.
tra added a comment.

> 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.


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