|
|
|
@ -178,7 +178,6 @@ extern "C"
|
|
|
|
|
#define MilanRealMin MINUS_INFINITY
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef OPENMP
|
|
|
|
|
/* These functions are only used in the experimental OMP implementation, if that
|
|
|
|
|
is disabled there is no reason to actually compile or reference them. */
|
|
|
|
|
|
|
|
|
@ -186,7 +185,7 @@ is disabled there is no reason to actually compile or reference them. */
|
|
|
|
|
MilanInt findOwnerOfGhost(MilanLongInt vtxIndex, MilanLongInt *mVerDistance,
|
|
|
|
|
MilanInt myRank, MilanInt numProcs);
|
|
|
|
|
|
|
|
|
|
MilanLongInt firstComputeCandidateMate(MilanLongInt adj1,
|
|
|
|
|
MilanLongInt firstComputeCandidateMateD(MilanLongInt adj1,
|
|
|
|
|
MilanLongInt adj2,
|
|
|
|
|
MilanLongInt *verLocInd,
|
|
|
|
|
MilanReal *edgeLocWeight);
|
|
|
|
@ -209,7 +208,7 @@ is disabled there is no reason to actually compile or reference them. */
|
|
|
|
|
MilanLongInt *Mate,
|
|
|
|
|
map<MilanLongInt, MilanLongInt> &Ghost2LocalMap);
|
|
|
|
|
|
|
|
|
|
MilanLongInt computeCandidateMate(MilanLongInt adj1,
|
|
|
|
|
MilanLongInt computeCandidateMateD(MilanLongInt adj1,
|
|
|
|
|
MilanLongInt adj2,
|
|
|
|
|
MilanReal *edgeLocWeight,
|
|
|
|
|
MilanLongInt k,
|
|
|
|
@ -260,7 +259,7 @@ is disabled there is no reason to actually compile or reference them. */
|
|
|
|
|
MilanLongInt NumMessagesBundled,
|
|
|
|
|
MilanReal *msgPercent);
|
|
|
|
|
|
|
|
|
|
void PARALLEL_COMPUTE_CANDIDATE_MATE_B(MilanLongInt NLVer,
|
|
|
|
|
void PARALLEL_COMPUTE_CANDIDATE_MATE_BD(MilanLongInt NLVer,
|
|
|
|
|
MilanLongInt *verLocPtr,
|
|
|
|
|
MilanLongInt *verLocInd,
|
|
|
|
|
MilanInt myRank,
|
|
|
|
@ -300,7 +299,7 @@ is disabled there is no reason to actually compile or reference them. */
|
|
|
|
|
void PROCESS_CROSS_EDGE(MilanLongInt *edge,
|
|
|
|
|
MilanLongInt *SPtr);
|
|
|
|
|
|
|
|
|
|
void processMatchedVertices(
|
|
|
|
|
void processMatchedVerticesD(
|
|
|
|
|
MilanLongInt NLVer,
|
|
|
|
|
vector<MilanLongInt> &UChunkBeingProcessed,
|
|
|
|
|
vector<MilanLongInt> &U,
|
|
|
|
@ -332,7 +331,7 @@ is disabled there is no reason to actually compile or reference them. */
|
|
|
|
|
vector<MilanLongInt> &privateQMsgType,
|
|
|
|
|
vector<MilanInt> &privateQOwner);
|
|
|
|
|
|
|
|
|
|
void processMatchedVerticesAndSendMessages(
|
|
|
|
|
void processMatchedVerticesAndSendMessagesD(
|
|
|
|
|
MilanLongInt NLVer,
|
|
|
|
|
vector<MilanLongInt> &UChunkBeingProcessed,
|
|
|
|
|
vector<MilanLongInt> &U,
|
|
|
|
@ -387,7 +386,7 @@ is disabled there is no reason to actually compile or reference them. */
|
|
|
|
|
vector<MPI_Request> &SRequest,
|
|
|
|
|
vector<MPI_Status> &SStatus);
|
|
|
|
|
|
|
|
|
|
void processMessages(
|
|
|
|
|
void processMessagesD(
|
|
|
|
|
MilanLongInt NLVer,
|
|
|
|
|
MilanLongInt *Mate,
|
|
|
|
|
MilanLongInt *candidateMate,
|
|
|
|
@ -428,14 +427,8 @@ is disabled there is no reason to actually compile or reference them. */
|
|
|
|
|
MilanLongInt *msgIndSent, MilanLongInt *msgActualSent, MilanReal *msgPercent,
|
|
|
|
|
MilanReal *ph0_time, MilanReal *ph1_time, MilanReal *ph2_time,
|
|
|
|
|
MilanLongInt *ph1_card, MilanLongInt *ph2_card);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef OPENMP
|
|
|
|
|
//Function of find the owner of a ghost vertex using binary search:
|
|
|
|
|
inline MilanInt findOwnerOfGhost(MilanLongInt vtxIndex, MilanLongInt *mVerDistance,
|
|
|
|
|
MilanInt myRank, MilanInt numProcs);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
void dalgoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateC(
|
|
|
|
|
MilanLongInt NLVer, MilanLongInt NLEdge,
|
|
|
|
|