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
cluster_remote_smem_addr
def cluster_remote_smem_addr(local_addr: UInt32, peer_rank: UInt32) -> UInt32
Map a local .shared byte address to peer peer_rank's window in the cluster.
Wraps mapa.shared::cluster.u32. local_addr is the 32-bit shared-state-space
address of an object in this CTA's shared memory (e.g. UInt32(Int(ptr))); the
result is the corresponding .shared::cluster address of the same object in CTA
peer_rank's shared memory. Pure address arithmetic; no memory access.
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!