[all-commits] [llvm/llvm-project] 7378fb: [libc++] Protect the libc++ implementation from CU...

Dmitri Gribenko via All-commits all-commits at lists.llvm.org
Mon Jan 22 10:12:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7378fb30645ad5398491acea3960a8115d1b171c
      https://github.com/llvm/llvm-project/commit/7378fb30645ad5398491acea3960a8115d1b171c
  Author: Dmitri Gribenko <gribozavr at gmail.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M libcxx/include/__config

  Log Message:
  -----------
  [libc++] Protect the libc++ implementation from CUDA SDK's __noinline__ macro (#73838)

The CUDA SDK contains an unfortunate definition for the `__noinline__`
macro. This patch works around it by using `__attribute__((noinline))`
instead of `__attribute__((__noinline__))` on CUDA. We are still waiting
for a long-term resolution to this issue in NVIDIA/cccl#1235.




More information about the All-commits mailing list