remove threshold parameter and move from static schedule to dynamic

This commit is contained in:
Caner Candan 2010-11-22 14:47:55 +01:00
commit 78b4da4c31
2 changed files with 4 additions and 6 deletions

View file

@ -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