Skip to main content

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:

Tuple

Was this page helpful?