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
ds_read_b128_imm_u32x4
ds_read_b128_imm_u32x4[offset_bytes: Int](base_ptr: UnsafePointer[BFloat16, address_space=AddressSpace.SHARED]) -> SIMD[DType.uint32, 4]
Issues ds_read_b128 with a comptime immediate offset and returns the loaded 128 bits as SIMD[DType.uint32, 4].
Includes pre-issue s_nop hazard guard, pre-issue s_waitcnt vmcnt(0)
(DMA completion), and POST-issue s_waitcnt lgkmcnt(0) (LDS read
completion). Caller bitcasts the i32 result.
Returns:
SIMD[DType.uint32, 4]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!