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 struct
SHMEMScope
struct SHMEMScope
Enables following the OpenSHMEM spec by default for put/get/iput/iget etc. While allowing NVIDIA extensions for block and warp scopes by passing a parameter.
Fieldsβ
- βvalue (
StaticString):
Implemented traitsβ
AnyType,
Copyable,
Equatable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable
comptime membersβ
blockβ
comptime block = SHMEMScope(StringSlice("_block"))
Execute RMA operation at thread block scope (NVIDIA extension).
defaultβ
comptime default = SHMEMScope(StringSlice(""))
Execute RMA operation at global scope.
warpβ
comptime warp = SHMEMScope(StringSlice("_warp"))
Execute RMA operation at warp scope (NVIDIA extension).
Methodsβ
__init__β
__init__(out self, value: StringSlice[StaticConstantOrigin])
__eq__β
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!