[libc-commits] [PATCH] D146725: [libc] Implement memory fences on NVPTX

Shilei Tian via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Mar 23 08:17:13 PDT 2023


tianshilei1992 accepted this revision.
tianshilei1992 added a comment.
This revision is now accepted and ready to land.

In D146725#4216706 <https://reviews.llvm.org/D146725#4216706>, @jhuber6 wrote:

> In D146725#4216704 <https://reviews.llvm.org/D146725#4216704>, @tianshilei1992 wrote:
>
>> Does it have to be `sys`? Does `gl` (kernel level) work?
>
> It should be `sys` as far as I understand because this is intended to be used on the Nvidia USM to implement RPC. Also I believe `__atomic_thread_fence` defaults to system scope on AMDPGU as well.

Oh I see. That's for shared memory. LG.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146725



More information about the libc-commits mailing list