[libc-commits] [PATCH] D152486: [libc] Begin implementing a 'libmgpu.a' for math on the GPU
Joseph Huber via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Jun 13 07:00:11 PDT 2023
jhuber6 updated this revision to Diff 530894.
jhuber6 added a comment.
Updating to include support for the `round` function which does not depend on
the vendor libraries. This should hopefully show how more generic functionality
can be added. E.g. if we enable an entrypoint we can either have a vendor
implementation, a generic implementation, or a native GPU implementation. This
will be more easily controlled in the future but for now this should be a
sufficient outline to implement what we want.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152486/new/
https://reviews.llvm.org/D152486
Files:
libc/config/gpu/entrypoints.txt
libc/config/gpu/headers.txt
libc/src/math/CMakeLists.txt
libc/src/math/gpu/CMakeLists.txt
libc/src/math/gpu/round.cpp
libc/src/math/gpu/vendor/CMakeLists.txt
libc/src/math/gpu/vendor/amdgpu/amdgpu.h
libc/src/math/gpu/vendor/amdgpu/declarations.h
libc/src/math/gpu/vendor/amdgpu/platform.h
libc/src/math/gpu/vendor/common.h
libc/src/math/gpu/vendor/nvptx/declarations.h
libc/src/math/gpu/vendor/nvptx/nvptx.h
libc/src/math/gpu/vendor/sin.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152486.530894.patch
Type: text/x-patch
Size: 14510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230613/d32d1aa6/attachment-0001.bin>
More information about the libc-commits
mailing list