Commit c1dc7289 authored by Quentin Khan's avatar Quentin Khan

Limit the number of OpenMP threads used according to argument

parent f3d8cba3
......@@ -74,6 +74,7 @@ int main (int argc, char** argv)
getStr(argc,argv,{"--schedule"},"dynamic") == std::string("static");
}
omp_set_num_threads(params.nbThreads);
if( "basic" == params.algo ) {
runperf<TreeLoaderFCheb<>, KernelLoaderFChebSym, AlgoLoaderThread>(params);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment