Searched refs:num_shards_used (Results 1 – 3 of 3) sorted by relevance
145 const int num_shards_used = in TransformRangeConcurrently() local147 if (num_shards_used == 1) { in TransformRangeConcurrently()153 BlockingCounter counter(num_shards_used); in TransformRangeConcurrently()167 if (num_shards_used <= NumThreads()) { in TransformRangeConcurrently()
34 const int num_shards_used = (batch_size + block_size - 1) / block_size; in ParallelFor() local35 BlockingCounter counter(num_shards_used - 1); in ParallelFor()
81 const int num_shards_used = (total + block_size - 1) / block_size; in Do() local82 BlockingCounter counter(num_shards_used - 1); in Do()