[libc-commits] [PATCH] D153395: Populating 'libmgpu.a' for math on the GPU
Joseph Huber via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Jun 21 14:34:19 PDT 2023
jhuber6 added a subscriber: arsenm.
jhuber6 added inline comments.
================
Comment at: libc/src/math/gpu/sqrt.cpp:14
-extern "C" {
-double __nv_sin(double);
-}
+LLVM_LIBC_FUNCTION(double, sqrt, (double x)) { return __builtin_sqrt(x); }
----------------
According to @arsenm these aren't correct now so we should proabably use the vendor versions for now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153395/new/
https://reviews.llvm.org/D153395
More information about the libc-commits
mailing list