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