Star
81
Fork
27
代码
介绍
代码
Issues
9
Pull Requests
9
流水线
Actions
讨论
Wiki
项目成员
44
分析
项目设置
Star
81
Fork
27
master
msdebug
/
clang
/
lib
/
Headers
/
cuda_wrappers
下载当前目录
G
GitHub
[CUDA][HIP] Fix std::min in wrapper header (
#93976
)
987e1b2a
创建于
2024年6月3日
历史提交
文件
最后提交记录
最后更新时间
bits
Work around two more instances of __noinline__ conflicts. (
#66138
) Fixes
https://github.com/llvm/llvm-project/issues/57544
2 年前
algorithm
[CUDA][HIP] Fix std::min in wrapper header (
#93976
) The std::min behaves like 'a<b?a:b', which does not match libstdc++/libc++ behavior like 'b<a?b:a' when input is NaN. Make it consistent with libstdc++/libc++. Fixes:
https://github.com/llvm/llvm-project/issues/93962
Fixes:
https://github.com/ROCm/HIP/issues/3502
2 年前
cmath
[CUDA] added cmath wrappers to unbreak CUDA compilation after D79555 libc++ introduced a handful of internal functions that may or may not be constexpr, depending on C++ version. For pre-constexpr variants we must declare __device__ counterparts. Otherwise the code fails to compile on the GPU side. See
https://reviews.llvm.org/D79555
Differential Revision:
https://reviews.llvm.org/D141555
3 年前
complex
[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
4 年前
new
[cuda][hip] Fix typoes in header wrappers.
5 年前