[all-commits] [llvm/llvm-project] a73cd0: [libc] Bump up sm_60's CUDA feature to +ptx63

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Apr 21 11:28:02 PDT 2023


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

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

  Log Message:
  -----------
  [libc] Bump up sm_60's CUDA feature to +ptx63

Summary:
The sm_60 GPU is the oldest model that's supported for using the RPC
features of the `libc` GPU runtime. This also requires at least `+ptx63`
to enable use of the active mask. So, this patch sets that as the
minimum.


  Commit: 1c968f7a1f9320416d6ec678a50bd570dce89f0f
      https://github.com/llvm/llvm-project/commit/1c968f7a1f9320416d6ec678a50bd570dce89f0f
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

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

  Log Message:
  -----------
  [libc] Ignore unknown CUDA versions for `libc` targeting NVPTX

Summary:
We generally need a CUDA toolchain to build the tests for the GPU `libc`
targeting NVPTX. However, clang will commonly emit warnings on versions
that are too new. We can ignore these in `libc` since we are manually
specifying the `+ptx` version to use whenever we compile. So we do not
need to worry about unexpected changes and we do not depend on any newer
features. So this should not be problematic.


Compare: https://github.com/llvm/llvm-project/compare/554d8ab63268...1c968f7a1f93


More information about the All-commits mailing list