Commit cbc78d82 authored by BRAMAS Berenger's avatar BRAMAS Berenger

update starpu algo to remove useless code

parent 7efe35f1
......@@ -292,15 +292,14 @@ public:
}
void rebuildInteractions(){
setenv("OMP_WAIT_POLICY", "PASSIVE", 1);
FAssertLF(getenv("OMP_WAIT_POLICY") == nullptr
|| strcmp(getenv("OMP_WAIT_POLICY"), "PASSIVE") != 0);
#pragma omp parallel
#pragma omp single
buildExternalInteractionVecs();
buildHandles();
omp_set_num_threads(1);
}
protected:
......
......@@ -308,7 +308,8 @@ public:
}
void rebuildInteractions(){
setenv("OMP_WAIT_POLICY", "PASSIVE", 1);
FAssertLF(getenv("OMP_WAIT_POLICY") == nullptr
|| strcmp(getenv("OMP_WAIT_POLICY"), "PASSIVE") != 0);
#pragma omp parallel
#pragma omp single
......@@ -318,8 +319,6 @@ public:
#pragma omp parallel
#pragma omp single
buildRemoteInteractionsAndHandles();
omp_set_num_threads(1);
}
protected:
......
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