Skip to main content

Mojo function

allreduce_2stage_quickreduce_tile

allreduce_2stage_quickreduce_tile[dtype: DType, rank: Int, ngpus: Int, *, BLOCK_SIZE: Int, output_lambda: fn[dtype: DType, rank: Int, width: Int, *, alignment: Int](IndexList[rank], SIMD[dtype, width]) capturing -> None, atom_size: Int](result: NDBuffer[dtype, rank, MutableAnyOrigin], buffer_list: InlineArray[UnsafePointer[UInt8], ngpus], src_buffer: UnsafePointer[Scalar[dtype]], num_elements: Int, my_rank: Int, tile: Int, num_tiles: Int, iteration: Int)

Was this page helpful?