[libc-commits] [PATCH] D156263: [libc][libm][GPU] Populated libmgpu.a with both built-in, HIP Math, and CUDA Math functions

Anton Rydahl via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Aug 14 10:12:20 PDT 2023


AntonRydahl updated this revision to Diff 550011.
AntonRydahl added a comment.

I made a mistake in the wrapper for `__nv_atan2f` which I have corrected in this commit.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156263/new/

https://reviews.llvm.org/D156263

Files:
  libc/config/gpu/entrypoints.txt
  libc/src/math/CMakeLists.txt
  libc/src/math/acos.h
  libc/src/math/acosh.h
  libc/src/math/asin.h
  libc/src/math/asinh.h
  libc/src/math/atan.h
  libc/src/math/atan2.h
  libc/src/math/atan2f.h
  libc/src/math/atanh.h
  libc/src/math/erf.h
  libc/src/math/exp.h
  libc/src/math/exp10.h
  libc/src/math/exp2.h
  libc/src/math/expm1.h
  libc/src/math/gpu/CMakeLists.txt
  libc/src/math/gpu/acos.cpp
  libc/src/math/gpu/acosf.cpp
  libc/src/math/gpu/acosh.cpp
  libc/src/math/gpu/acoshf.cpp
  libc/src/math/gpu/asin.cpp
  libc/src/math/gpu/asinf.cpp
  libc/src/math/gpu/asinh.cpp
  libc/src/math/gpu/asinhf.cpp
  libc/src/math/gpu/atan.cpp
  libc/src/math/gpu/atan2.cpp
  libc/src/math/gpu/atan2f.cpp
  libc/src/math/gpu/atanf.cpp
  libc/src/math/gpu/atanh.cpp
  libc/src/math/gpu/atanhf.cpp
  libc/src/math/gpu/cos.cpp
  libc/src/math/gpu/cosf.cpp
  libc/src/math/gpu/cosh.cpp
  libc/src/math/gpu/coshf.cpp
  libc/src/math/gpu/erf.cpp
  libc/src/math/gpu/erff.cpp
  libc/src/math/gpu/exp.cpp
  libc/src/math/gpu/exp2.cpp
  libc/src/math/gpu/exp2f.cpp
  libc/src/math/gpu/expf.cpp
  libc/src/math/gpu/expm1.cpp
  libc/src/math/gpu/expm1f.cpp
  libc/src/math/gpu/hypot.cpp
  libc/src/math/gpu/hypotf.cpp
  libc/src/math/gpu/ldexp.cpp
  libc/src/math/gpu/ldexpf.cpp
  libc/src/math/gpu/llrint.cpp
  libc/src/math/gpu/llrintf.cpp
  libc/src/math/gpu/llround.cpp
  libc/src/math/gpu/llroundf.cpp
  libc/src/math/gpu/log.cpp
  libc/src/math/gpu/log10.cpp
  libc/src/math/gpu/log10f.cpp
  libc/src/math/gpu/log1p.cpp
  libc/src/math/gpu/log1pf.cpp
  libc/src/math/gpu/log2.cpp
  libc/src/math/gpu/log2f.cpp
  libc/src/math/gpu/logb.cpp
  libc/src/math/gpu/logbf.cpp
  libc/src/math/gpu/logf.cpp
  libc/src/math/gpu/lrint.cpp
  libc/src/math/gpu/lrintf.cpp
  libc/src/math/gpu/lround.cpp
  libc/src/math/gpu/lroundf.cpp
  libc/src/math/gpu/pow.cpp
  libc/src/math/gpu/powf.cpp
  libc/src/math/gpu/sin.cpp
  libc/src/math/gpu/sinf.cpp
  libc/src/math/gpu/tgamma.cpp
  libc/src/math/gpu/tgammaf.cpp
  libc/src/math/gpu/vendor/CMakeLists.txt
  libc/src/math/gpu/vendor/acos.cpp
  libc/src/math/gpu/vendor/acosh.cpp
  libc/src/math/gpu/vendor/amdgpu/amdgpu.h
  libc/src/math/gpu/vendor/amdgpu/declarations.h
  libc/src/math/gpu/vendor/asin.cpp
  libc/src/math/gpu/vendor/asinh.cpp
  libc/src/math/gpu/vendor/atan.cpp
  libc/src/math/gpu/vendor/atan2.cpp
  libc/src/math/gpu/vendor/atan2f.cpp
  libc/src/math/gpu/vendor/atanh.cpp
  libc/src/math/gpu/vendor/ceil.cpp
  libc/src/math/gpu/vendor/ceilf.cpp
  libc/src/math/gpu/vendor/copysign.cpp
  libc/src/math/gpu/vendor/copysignf.cpp
  libc/src/math/gpu/vendor/erf.cpp
  libc/src/math/gpu/vendor/erff.cpp
  libc/src/math/gpu/vendor/exp.cpp
  libc/src/math/gpu/vendor/exp10.cpp
  libc/src/math/gpu/vendor/exp2.cpp
  libc/src/math/gpu/vendor/expm1.cpp
  libc/src/math/gpu/vendor/fabs.cpp
  libc/src/math/gpu/vendor/fabsf.cpp
  libc/src/math/gpu/vendor/floor.cpp
  libc/src/math/gpu/vendor/floorf.cpp
  libc/src/math/gpu/vendor/fma.cpp
  libc/src/math/gpu/vendor/fmaf.cpp
  libc/src/math/gpu/vendor/fmax.cpp
  libc/src/math/gpu/vendor/fmaxf.cpp
  libc/src/math/gpu/vendor/fmin.cpp
  libc/src/math/gpu/vendor/fminf.cpp
  libc/src/math/gpu/vendor/fmod.cpp
  libc/src/math/gpu/vendor/fmodf.cpp
  libc/src/math/gpu/vendor/frexp.cpp
  libc/src/math/gpu/vendor/frexpf.cpp
  libc/src/math/gpu/vendor/log.cpp
  libc/src/math/gpu/vendor/log10.cpp
  libc/src/math/gpu/vendor/log10f.cpp
  libc/src/math/gpu/vendor/log1p.cpp
  libc/src/math/gpu/vendor/log1pf.cpp
  libc/src/math/gpu/vendor/log2.cpp
  libc/src/math/gpu/vendor/log2f.cpp
  libc/src/math/gpu/vendor/logb.cpp
  libc/src/math/gpu/vendor/logbf.cpp
  libc/src/math/gpu/vendor/logf.cpp
  libc/src/math/gpu/vendor/lrint.cpp
  libc/src/math/gpu/vendor/lrintf.cpp
  libc/src/math/gpu/vendor/lround.cpp
  libc/src/math/gpu/vendor/lroundf.cpp
  libc/src/math/gpu/vendor/modf.cpp
  libc/src/math/gpu/vendor/modff.cpp
  libc/src/math/gpu/vendor/nearbyint.cpp
  libc/src/math/gpu/vendor/nearbyintf.cpp
  libc/src/math/gpu/vendor/nvptx/declarations.h
  libc/src/math/gpu/vendor/nvptx/nvptx.h
  libc/src/math/gpu/vendor/remainder.cpp
  libc/src/math/gpu/vendor/remainderf.cpp
  libc/src/math/gpu/vendor/remquo.cpp
  libc/src/math/gpu/vendor/remquof.cpp
  libc/src/math/gpu/vendor/rint.cpp
  libc/src/math/gpu/vendor/rintf.cpp
  libc/src/math/gpu/vendor/round.cpp
  libc/src/math/gpu/vendor/roundf.cpp
  libc/src/math/gpu/vendor/scalbn.cpp
  libc/src/math/gpu/vendor/scalbnf.cpp
  libc/src/math/gpu/vendor/sqrt.cpp
  libc/src/math/gpu/vendor/sqrtf.cpp
  libc/src/math/gpu/vendor/tgamma.cpp
  libc/src/math/gpu/vendor/tgammaf.cpp
  libc/src/math/gpu/vendor/trunc.cpp
  libc/src/math/gpu/vendor/truncf.cpp
  libc/src/math/sincos.h
  libc/src/math/tgamma.h
  libc/src/math/tgammaf.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156263.550011.patch
Type: text/x-patch
Size: 156093 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230814/0423361b/attachment-0001.bin>


More information about the libc-commits mailing list