Template Function combigrid::CombiCom::getGlobalReduceChunkSize
Defined in File CombiCom.hpp
Function Documentation
-
template<typename SG_ELEMENT>
static int combigrid::CombiCom::getGlobalReduceChunkSize(uint32_t maxMiBToSendPerThread) get the chunk size for global reduction, in number of elements, depending on the number of threads
- Template Parameters:
SG_ELEMENT – the type of the elements in the sparse grid
- Parameters:
maxMiBToSendPerThread – the maximum number of MiB to send per OpenMP thread (~= per core)
- Returns:
the chunk size in number of elements