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

Anton Rydahl via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jun 15 14:35:42 PDT 2023


AntonRydahl added a comment.

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?


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