Mojo function
ping_pong_matmul
ping_pong_matmul[a_type: DType, b_type: DType, c_type: DType, a_layout: Layout, b_layout: Layout, c_layout: Layout, //, enable_swizzle: Bool = True](a_device_tensor: LayoutTensor[a_type, a_layout, a_device_tensor.origin, address_space=a_device_tensor.address_space, element_layout=a_device_tensor.element_layout, layout_int_type=a_device_tensor.layout_int_type, linear_idx_type=a_device_tensor.linear_idx_type, masked=a_device_tensor.masked, alignment=a_device_tensor.alignment], b_device_tensor: LayoutTensor[b_type, b_layout, b_device_tensor.origin, address_space=b_device_tensor.address_space, element_layout=b_device_tensor.element_layout, layout_int_type=b_device_tensor.layout_int_type, linear_idx_type=b_device_tensor.linear_idx_type, masked=b_device_tensor.masked, alignment=b_device_tensor.alignment], c_device_tensor: LayoutTensor[c_type, c_layout, c_device_tensor.origin, address_space=c_device_tensor.address_space, element_layout=c_device_tensor.element_layout, layout_int_type=c_device_tensor.layout_int_type, linear_idx_type=c_device_tensor.linear_idx_type, masked=c_device_tensor.masked, alignment=c_device_tensor.alignment], ctx: DeviceContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!