Commit f61c218d authored by BRAMAS Berenger's avatar BRAMAS Berenger

passive or PASSIVE are OK

parent 3cb6818e
......@@ -295,7 +295,8 @@ public:
void rebuildInteractions(){
FAssertLF(getenv("OMP_WAIT_POLICY") == nullptr
|| strcmp(getenv("OMP_WAIT_POLICY"), "PASSIVE") == 0);
|| strcmp(getenv("OMP_WAIT_POLICY"), "PASSIVE") == 0
|| strcmp(getenv("OMP_WAIT_POLICY"), "passive") == 0);
#pragma omp parallel
#pragma omp single
......
......@@ -311,7 +311,8 @@ public:
void rebuildInteractions(){
FAssertLF(getenv("OMP_WAIT_POLICY") == nullptr
|| strcmp(getenv("OMP_WAIT_POLICY"), "PASSIVE") == 0);
|| strcmp(getenv("OMP_WAIT_POLICY"), "PASSIVE") == 0
|| strcmp(getenv("OMP_WAIT_POLICY"), "passive") == 0);
#pragma omp parallel
#pragma omp single
......
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