[libc-commits] [PATCH] D152575: Added modf for NVPTX and AMDGPU targets to implement 'libmgpu.a' for math on the GPU

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jun 15 14:38:01 PDT 2023


sivachandra added a comment.

In D152575#4426284 <https://reviews.llvm.org/D152575#4426284>, @AntonRydahl wrote:

> I will make a new patch where I test if the `__builtin` math functions compile to `--target=amdgcn-amd-amdhsa` and `--target=nvptx64-nvidia-cuda`. If it successfully compiles, I will add `__builtin` wrappers. If not, I will add `__ocml` and `__nv` wrappers. Does that sound good to you, @sivachandra?

SGTM


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152575



More information about the libc-commits mailing list