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
ld_shared_v4_u32
def ld_shared_v4_u32(src_u8: Pointer[UInt8, address_space=AddressSpace.SHARED, _safe=False], byte_off: Int) -> SIMD[DType.uint32, SIMDLength(4)]
Loads four contiguous uint32 values from shared memory at a byte offset.
Args:
- src_u8 (
Pointer[UInt8, address_space=AddressSpace.SHARED, _safe=False]): Byte-typed shared memory pointer to the base of the load. - byte_off (
Int): Byte offset fromsrc_u8to the first uint32 to load.
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!