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, use_bufferio: Bool](result_data: LegacyUnsafePointer[Scalar[dtype], address_space=_target_address_space], local_src: LegacyUnsafePointer[Scalar[dtype], address_space=_target_address_space], rank_sigs: InlineArray[LegacyUnsafePointer[Signal], 8], num_elements: Int, my_rank: Int, tile: Int, num_tiles: Int, iteration: Int)

Was this page helpful?