improved
This commit is contained in:
@@ -5358,21 +5358,6 @@ SgExpression * TranslateReductionToOpenmp(SgExpression *reduction_clause) /* Op
|
||||
return OpenMPReductions;
|
||||
}
|
||||
|
||||
SgStatement *Interface(SgSymbol *s)
|
||||
{
|
||||
SgStatement *interface = hasInterface(s);
|
||||
if (!interface)
|
||||
{
|
||||
interface = getInterface(s);
|
||||
if (isForCudaRegion())
|
||||
{
|
||||
SaveInterface(s,interface);
|
||||
MarkAsUserProcedure(s);
|
||||
}
|
||||
}
|
||||
return interface;
|
||||
}
|
||||
|
||||
/*
|
||||
SgStatement *checkInternal(SgSymbol *s)
|
||||
{
|
||||
|
||||
@@ -111,6 +111,20 @@ void SaveInterface(SgSymbol *s, SgStatement *interface)
|
||||
GRAPHNODE(s)->st_interface = interface;
|
||||
}
|
||||
|
||||
SgStatement *Interface(SgSymbol *s)
|
||||
{
|
||||
SgStatement *interface = hasInterface(s);
|
||||
if (!interface)
|
||||
interface = getInterface(s);
|
||||
|
||||
if (isForCudaRegion() && interface)
|
||||
{
|
||||
SaveInterface(s,interface);
|
||||
MarkAsUserProcedure(s);
|
||||
}
|
||||
return interface;
|
||||
}
|
||||
|
||||
int findParameterNumber(SgSymbol *s, char *name)
|
||||
{
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user