ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
tool_threading.h File Reference
#include <functional>
Include dependency graph for tool_threading.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ModuleBase

Functions

template<typename T_task, typename T_out>
void ModuleBase::TASK_DIST_1D (int nworker, int iworker, T_task ntask, T_out &start, T_out &len)
template<typename T_task, typename T_out>
void ModuleBase::BLOCK_TASK_DIST_1D (int nworker, int iworker, T_task ntask, T_task block_size, T_out &start, T_out &len)
void ModuleBase::OMP_PARALLEL (const std::function< void(int, int)> &f)
void ModuleBase::TRY_OMP_PARALLEL (const std::function< void(int, int)> &f)