def with_workers

stelliferous@0.0.2.0 · tensor_f32.bend:99

import stelliferous@0.0.2.0/tensor_f32.bend as TensorF32
import Base
import stelliferous@0.0.2.0/tensor.bend as Tensors

99# Execution context: operations may use count workers, like a tensor's device.
100# Read the runtime's pool once with IO.thread_count(); results keep the count.
101def with_workers(tensor: Tensor(),+count: U32) -> Tensor():
102  Tensors.with_workers(~F32,tensor,count)

Uses (4)

Used by (0)

No other definition uses this definition.