[all-commits] [llvm/llvm-project] 8704c3: [libc] Set minimum CUDA PTX feature to +ptx60

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Apr 20 16:01:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8704c3a31f6011ba43fc60bef7b3c9774b9e38d9
      https://github.com/llvm/llvm-project/commit/8704c3a31f6011ba43fc60bef7b3c9774b9e38d9
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M libc/cmake/modules/LLVMLibCObjectRules.cmake

  Log Message:
  -----------
  [libc] Set minimum CUDA PTX feature to +ptx60

Summary:
The `+ptx` features correspond to the related CUDA version. We require a
certain set of features from the `ptxas` assembler, which is tied to the
CUDA version. Some of the ones set here were insufficient, so I am
simply setting a cutoff to the CUDA 9.0 release as the minimum. This
roughly corresponds to what should be required for sm_60 to be compiled
with the source.




More information about the All-commits mailing list