[libcxx-commits] [libcxx] [libc++] Protect the libc++ implementation from CUDA SDK's `__noinline__` macro (PR #73838)

Artem Belevich via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 29 15:29:29 PST 2023


Artem-B wrote:

> Otherwise, in case CUDA says something like "yeah we don't really care", then we'd be bending backwards to support something bad that another vendor is doing in complete awareness and I would push back on doing that on the basis that it's not a good precedent to set nor a sane long term direction for libc++.

See. https://github.com/NVIDIA/thrust/issues/1703 

The way I read it, the fact that NVCC hacks around this issue is a strong indication that it's not going to be fixed any time soon. And we still need to deal with existing CUDA versions anyways, so what NVIDIA is going to do about it is almost a moot point.



https://github.com/llvm/llvm-project/pull/73838


More information about the libcxx-commits mailing list