Avoid expensive atomics altogether, including the allocation of arrays, in the single-thread case.
Avoid expensive atomics altogether, including the allocation of arrays,
in the single-thread case.

PiperOrigin-RevId: 261320407

google/ruy,google/ruy,google/ruy,google/ruy