fixed shared memory parallelization

This commit is contained in:
ALEXks
2025-07-05 20:49:23 +03:00
parent feafa43f32
commit 29ece9072e
11 changed files with 117 additions and 186 deletions

View File

@@ -1281,7 +1281,9 @@ static bool runAnalysis(SgProject &project, const int curr_regime, const bool ne
detectCopies(allFuncInfo);
fillInterfaceBlock(allFuncInfo);
intentInsertToInterfaces(allFuncInfo);
createInterfacesForAssumedSize(allFuncInfo);
if (sharedMemoryParallelization != 1)
createInterfacesForAssumedSize(allFuncInfo);
//this call is only for testing
//setPureStatus(allFuncInfo);
@@ -2632,7 +2634,10 @@ int main(int argc, char **argv)
}
if (curr_regime == INSERT_PARALLEL_DIRS_NODIST)
{
ignoreArrayDistributeState = true;
sharedMemoryParallelization = 1;
}
if (runAsClient)
{