For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo function
shmem_p
def shmem_p[dtype: DType](dest: Pointer[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:
- โdest (
Pointer[Scalar[dtype], MutAnyOrigin]): Symmetric address of the destination data object. - โvalue (
Scalar[dtype]): The value to be transferred to dest. - โpe (
Int32): PE number of the remote PE relative to the team associated with the device.