Skip to main content

Mojo function

run_producer

run_producer[dtype: DType, layout: Layout, warp_tile_layout: Layout, block_rows: Int, block_cols: Int, warp_rows: Int, warp_cols: Int, producer_warps: Int, pipeline_stages: Int, k_tile_size: Int, simd_width: Int, warps_processed_per_producer: Int, tile_count: Int, swizzle: OptionalReg[Swizzle]](matrix: LayoutTensor[dtype, layout, MutAnyOrigin, address_space=AddressSpace.GLOBAL], mut ring_buffer: RingBuffer[consumer_warps, reads_per_warp_block], warp_id: UInt, block_idx_dim: Int)

Generic producer function for loading matrix tiles from global to shared memory.

Was this page helpful?