Star81
27
代码介绍
代码
Issues9
Pull Requests9
流水线
Actions
讨论
Wiki
项目成员44
分析
项目设置
Star81
27
  1. msdebug
  2. /
  3. clang
  4. /
  5. lib
  6. /
  7. Headers
  8. /
  9. cuda_wrappers
GGitHub[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/575442 年前
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/35022 年前
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/D1415553 年前
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/D1029364 年前
new
[cuda][hip] Fix typoes in header wrappers.5 年前