enable directive filtering for shared memory case #27

Merged
Alexander_KS merged 1 commits from insert_parallel_dirs_nodist into master 2024-02-19 06:12:10 +00:00

View File

@@ -2040,7 +2040,7 @@ static bool runAnalysis(SgProject &project, const int curr_regime, const bool ne
swapLoopsForParallel(loopGraph, SPF_messages, 1); swapLoopsForParallel(loopGraph, SPF_messages, 1);
else if (curr_regime == RESTORE_SWAP_LOOPS) else if (curr_regime == RESTORE_SWAP_LOOPS)
swapLoopsForParallel(loopGraph, SPF_messages, -1); swapLoopsForParallel(loopGraph, SPF_messages, -1);
else if (curr_regime == CREATE_PARALLEL_DIRS) else if (curr_regime == CREATE_PARALLEL_DIRS || curr_regime == INSERT_PARALLEL_DIRS_NODIST)
filterParallelDirectives(loopGraph, createdDirectives); filterParallelDirectives(loopGraph, createdDirectives);
else if (curr_regime == INLINE_PROCEDURES) else if (curr_regime == INLINE_PROCEDURES)
callInliner(allFuncInfo, inDataProc, inDataChains, inDataChainsStart, SPF_messages, commonBlocks); callInliner(allFuncInfo, inDataProc, inDataChains, inDataChainsStart, SPF_messages, commonBlocks);