mz_compute::command_channel

Function split_command

Source
fn split_command(
    command: ComputeCommand,
    parts: usize,
) -> impl Iterator<Item = (usize, ComputeCommand)>
Expand description

Split the given command into the given number of parts.

Returns an iterator that produces each command part, along with its part index.