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_p

shmem_p[dtype: DType](dest: UnsafePointer[Scalar[dtype], MutAnyOrigin], value: Scalar[dtype], pe: Int32)

Copies one data item to a remote PE.

Very low latency put capability for single elements. As with shmem_put, these routines start the remote transfer and may return before the data is delivered to the remote PE. Use shmem_quiet to force completion of all remote Put transfers.

Args: