[libc-commits] [PATCH] D159225: [libc] Implement the 'nanosleep' function on the GPU

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Aug 30 14:47:18 PDT 2023


jhuber6 added a comment.

In D159225#4629508 <https://reviews.llvm.org/D159225#4629508>, @JonChesterfield wrote:

> We should probably create llvm intrinsics for the ad hoc ptx assembly remaining. I don't think there's any inline asm for intrinsics in amdgpu, though there may still be some as control flow hacks

Definitely, probably a good job to round them all up and implement them since they're pretty simple. Which actually reminds me that I forgot to check for `sm_70` in this so thanks for that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159225



More information about the libc-commits mailing list