improved shared memory parallelization
This commit is contained in:
@@ -580,6 +580,9 @@ static bool hasSubstringRef(SgExpression* ex)
|
||||
if (ex->variant() == ARRAY_OP)
|
||||
return true;
|
||||
|
||||
if (ex->variant() == ARRAY_REF && !isArrayRef(ex))
|
||||
return true;
|
||||
|
||||
if (ex->lhs())
|
||||
res |= hasSubstringRef(ex->lhs());
|
||||
if (ex->rhs())
|
||||
|
||||
@@ -1915,7 +1915,7 @@ static bool runAnalysis(SgProject &project, const int curr_regime, const bool ne
|
||||
else if (curr_regime == FIX_COMMON_BLOCKS)
|
||||
fixCommonBlocks(allFuncInfo, commonBlocks, &project);
|
||||
else if (curr_regime == SELECT_ARRAY_DIM_CONF) {
|
||||
SelectArrayConfForParallelization(&project, allFuncInfo, loopGraph, SPF_messages, arrayLinksByFuncCalls);
|
||||
;// SelectArrayConfForParallelization(&project, allFuncInfo, loopGraph, SPF_messages, arrayLinksByFuncCalls);
|
||||
}
|
||||
else if (curr_regime == GET_MIN_MAX_BLOCK_DIST)
|
||||
{
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#define VERSION_SPF "2334"
|
||||
#define VERSION_SPF "2336"
|
||||
|
||||
Reference in New Issue
Block a user