|
|
@ -33,12 +33,13 @@ void PARALLEL_PROCESS_EXPOSED_VERTEX_BD(MilanLongInt NLVer,
|
|
|
|
MilanLongInt v = -1, k = -1, w = -1, adj11 = 0, adj12 = 0, k1 = 0;
|
|
|
|
MilanLongInt v = -1, k = -1, w = -1, adj11 = 0, adj12 = 0, k1 = 0;
|
|
|
|
MilanInt ghostOwner = 0, option, igw;
|
|
|
|
MilanInt ghostOwner = 0, option, igw;
|
|
|
|
|
|
|
|
|
|
|
|
//#pragma omp parallel private(option, k, w, v, k1, adj11, adj12, ghostOwner) \
|
|
|
|
#pragma omp parallel private(option, k, w, v, k1, adj11, adj12, ghostOwner) \
|
|
|
|
firstprivate(privateU, StartIndex, EndIndex, privateQLocalVtx, privateQGhostVtx, privateQMsgType, privateQOwner) \
|
|
|
|
firstprivate(privateU, StartIndex, EndIndex, privateQLocalVtx, \
|
|
|
|
|
|
|
|
privateQGhostVtx, privateQMsgType, privateQOwner) \
|
|
|
|
default(shared) num_threads(NUM_THREAD)
|
|
|
|
default(shared) num_threads(NUM_THREAD)
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//#pragma omp for reduction(+ \
|
|
|
|
#pragma omp for reduction(+ \
|
|
|
|
: PCounter[:numProcs], myCard \
|
|
|
|
: PCounter[:numProcs], myCard \
|
|
|
|
[:1], msgInd \
|
|
|
|
[:1], msgInd \
|
|
|
|
[:1], NumMessagesBundled \
|
|
|
|
[:1], NumMessagesBundled \
|
|
|
@ -216,12 +217,13 @@ void PARALLEL_PROCESS_EXPOSED_VERTEX_BS(MilanLongInt NLVer,
|
|
|
|
MilanLongInt v = -1, k = -1, w = -1, adj11 = 0, adj12 = 0, k1 = 0;
|
|
|
|
MilanLongInt v = -1, k = -1, w = -1, adj11 = 0, adj12 = 0, k1 = 0;
|
|
|
|
MilanInt ghostOwner = 0, option, igw;
|
|
|
|
MilanInt ghostOwner = 0, option, igw;
|
|
|
|
|
|
|
|
|
|
|
|
//#pragma omp parallel private(option, k, w, v, k1, adj11, adj12, ghostOwner) \
|
|
|
|
#pragma omp parallel private(option, k, w, v, k1, adj11, adj12, ghostOwner) \
|
|
|
|
firstprivate(privateU, StartIndex, EndIndex, privateQLocalVtx, privateQGhostVtx, privateQMsgType, privateQOwner) \
|
|
|
|
firstprivate(privateU, StartIndex, EndIndex, privateQLocalVtx, \
|
|
|
|
|
|
|
|
privateQGhostVtx, privateQMsgType, privateQOwner) \
|
|
|
|
default(shared) num_threads(NUM_THREAD)
|
|
|
|
default(shared) num_threads(NUM_THREAD)
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//#pragma omp for reduction(+ \
|
|
|
|
#pragma omp for reduction(+ \
|
|
|
|
: PCounter[:numProcs], myCard \
|
|
|
|
: PCounter[:numProcs], myCard \
|
|
|
|
[:1], msgInd \
|
|
|
|
[:1], msgInd \
|
|
|
|
[:1], NumMessagesBundled \
|
|
|
|
[:1], NumMessagesBundled \
|
|
|
|