llvm-project/clang/lib/Headers/cuda_wrappers
Artem Belevich 9a75c06cd9 [CUDA] Work around compatibility issue with libstdc++ 11.1.0
libstdc++ redeclares __failed_assertion multiple times and that results in the
function declared with conflicting set of attributes when we include <complex>
with __host__ __device__ attributes force-applied to all functions.

In order to work around the issue, we rename __failed_assertion within the
region with forced attributes.

See https://bugs.llvm.org/show_bug.cgi?id=50383 for the details.

Differential Revision: https://reviews.llvm.org/D102936
2021-05-24 11:07:09 -07:00
..
algorithm [cuda][hip] Fix typoes in header wrappers. 2020-12-21 13:02:47 -05:00
complex [CUDA] Work around compatibility issue with libstdc++ 11.1.0 2021-05-24 11:07:09 -07:00
new [cuda][hip] Fix typoes in header wrappers. 2020-12-21 13:02:47 -05:00