Commit 50fc5642 authored by Ondrej Vysocky's avatar Ondrej Vysocky
Browse files

FIX scorep regions had same names as some other variables

parent 1a87c1a0
......@@ -173,21 +173,21 @@ int i = 0;
{
#ifdef WITHREADEX
//MERIC_MeasureStart("UEqn"); //u
READEX_REGION_DEFINE(UEqn);
READEX_REGION_START(UEqn, "UEqn", SCOREP_USER_REGION_TYPE_COMMON);
READEX_REGION_DEFINE(simpleUEqn);
READEX_REGION_START(simpleUEqn, "UEqn", SCOREP_USER_REGION_TYPE_COMMON);
#endif
#include "UEqn.H"
#ifdef WITHREADEX
//MERIC_MeasureStop();
//MERIC_MeasureStart("pEqn"); //p
READEX_REGION_STOP(UEqn);
READEX_REGION_DEFINE(pEqn);
READEX_REGION_START(pEqn, "pEqn", SCOREP_USER_REGION_TYPE_COMMON);
READEX_REGION_STOP(simpleUEqn);
READEX_REGION_DEFINE(simplepEqn);
READEX_REGION_START(simplepEqn, "pEqn", SCOREP_USER_REGION_TYPE_COMMON);
#endif
#include "pEqn.H"
#ifdef WITHREADEX
//MERIC_MeasureStop();
READEX_REGION_STOP(pEqn);
READEX_REGION_STOP(simplepEqn);
#endif
}
//start k+omega
......
......@@ -191,8 +191,8 @@ void Foam::lduMatrix::sumA
{
#ifdef WITHREADEX
//MERIC_MeasureStart("sumA");
READEX_REGION_DEFINE(sumA);
READEX_REGION_START(sumA, "sumA", SCOREP_USER_REGION_TYPE_COMMON);
READEX_REGION_DEFINE(sumMatA);
READEX_REGION_START(sumMatA, "sumMatA", SCOREP_USER_REGION_TYPE_COMMON);
#endif
scalar* __restrict__ sumAPtr = sumA.begin();
......@@ -235,7 +235,7 @@ void Foam::lduMatrix::sumA
}
#ifdef WITHREADEX
//MERIC_MeasureStop();
READEX_REGION_STOP(sumA);
READEX_REGION_STOP(sumMatA);
#endif
}
......
Supports Markdown
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