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

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Mar 23 08:14:17 PDT 2023


jhuber6 added a comment.

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.


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