Skip to content
Snippets Groups Projects
Commit 2933dc54 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

mgf: read parallel from files.

parent a399be17
No related branches found
No related tags found
No related merge requests found
Pipeline #21247 failed
......@@ -266,6 +266,9 @@ streamReadRecord(int streamID, double *data, SizeType *nmiss)
{
MGF *mgf = &(streamptr->mgf);
size_t numMiss = 0;
#ifdef _OPENMP
#pragma omp parallel for default(shared) schedule(dynamic) reduction(+ : numMiss)
#endif
for (int i = 0; i < mgf->numFiles; ++i)
{
if (mgf->entries[i].needed)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment