IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo function

shmem_signal_op

shmem_signal_op(sig_addr: UnsafePointer[UInt64], signal: UInt64, sig_op: Int32, pe: Int32)

The nvshmemx_signal_op operation atomically updates sig_addr with signal using operation sig_op on the specified PE. This operation can be used together with wait and test routines for efficient point-to-point synchronization.

Args:

  • ​sig_addr (UnsafePointer[UInt64]): Symmetric address of the signal word to be updated.
  • ​signal (UInt64): The value used to update sig_addr.
  • ​sig_op (Int32): Operation used to update sig_addr with signal.
  • ​pe (Int32): PE number of the remote PE.