[libc-commits] [PATCH] D149894: [libc] Add RPC utility functions for handling the lanes

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu May 4 13:02:04 PDT 2023


jhuber6 added inline comments.


================
Comment at: libc/src/__support/RPC/rpc_util.h:44
+/// Conditional to indicate if this process is running on the GPU.
+LIBC_INLINE constexpr bool is_process_gpu() {
+#if defined(LIBC_TARGET_ARCH_IS_GPU)
----------------
JonChesterfield wrote:
> and this ^ might not survive refactoring in the parent patch
I use it to not check the mask when we invoke the send / recv callback.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149894



More information about the libc-commits mailing list