Searched refs:block_size (Results 1 – 3 of 3) sorted by relevance
91 void NativeParallelFor( Index Number, Index block_size, const Body& body ) { in NativeParallelFor() argument92 NativeParallelFor(Number / block_size, [block_size, &body] (Index idx) { in NativeParallelFor()93 for (Index i = idx * block_size; i < (idx + 1) * block_size; ++i) { in NativeParallelFor()
553 std::size_t block_size{0};555 …for (; !(this->my_first == this->my_last) && block_size < block_handling_type::max_block_size; ++t…556 ++block_size;561 …to block_handling_task = alloc.new_object<block_handling_type>(ed, first_block_element, block_size,
162 std::size_t block_size = count / nthread; in TimeFindPrimes() local163 utils::NativeParallelFor(count, block_size, FindPrimes() ); in TimeFindPrimes()