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_get_nbi
def shmem_get_nbi[dtype: DType, scope: SHMEMScope = SHMEMScope.default](dest: Pointer[Scalar[dtype]], source: Pointer[Scalar[dtype]], nelems: UInt, pe: Int32)
Initiate a non-blocking copy of data from a specified PE.
The get routines provide a method for copying a contiguous symmetric data object from a remote PE to a contiguous data object on the local PE. The routines return after initiating the operation. The operation is considered complete after a subsequent call to shmem_quiet. At the completion of shmem_quiet, the data has been delivered to the dest array on the local PE.
Args:
- βdest (
Pointer[Scalar[dtype]]): Local address of the data object to be updated. - βsource (
Pointer[Scalar[dtype]]): Symmetric address of the source data object. - βnelems (
UInt): Number of elements in the dest and source arrays. - βpe (
Int32): PE number of the remote PE relative to the team associated with the device.