Mojo function
split_smem
split_smem[first: Layout, second: Layout, first_dtype: DType, second_dtype: DType](tensor: LayoutTensor[tensor.dtype, tensor.layout, MutAnyOrigin, address_space=AddressSpace.SHARED, layout_int_type=DType.int32, linear_idx_type=DType.int32, alignment=128]) -> Tuple[LayoutTensor[first_dtype, first, MutAnyOrigin, address_space=AddressSpace.SHARED, layout_int_type=DType.int32, linear_idx_type=DType.int32, alignment=128], LayoutTensor[second_dtype, second, MutAnyOrigin, address_space=AddressSpace.SHARED, layout_int_type=DType.int32, linear_idx_type=DType.int32, alignment=128]]
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!