remove threshold parameter and move from static schedule to dynamic
This commit is contained in:
parent
cb8e6ab1c3
commit
78b4da4c31
2 changed files with 4 additions and 6 deletions
|
|
@ -40,7 +40,7 @@
|
|||
template <class EOT>
|
||||
void omp_apply(eoUF<EOT&, void>& _proc, std::vector<EOT>& _pop)
|
||||
{
|
||||
#pragma omp parallel for default(none) shared(_proc, _pop)
|
||||
#pragma omp parallel for default(none) shared(_proc, _pop) schedule(dynamic)
|
||||
for (unsigned i = 0; i < _pop.size(); ++i)
|
||||
{
|
||||
//#pragma omp critical
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue