Mojo function
parallelize_over_rows
parallelize_over_rows[: origin.set, //, func: fn(Int, Int) capturing -> None](shape: IndexList[size, element_type=element_type], axis: Int, grain_size: Int)
Parallelize func over non-axis dims of shape.
Parameters:
- func (
fn(Int, Int) capturing -> None
): Function to call on range of rows.
Args:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!