29 #ifndef _DIST_EDGE_LIST_H_ 30 #define _DIST_EDGE_LIST_H_ 66 return (p->v0_low | ((
int64_t)((int16_t)(p->high & 0xFFFF)) << 32));
70 return (p->v1_low | ((
int64_t)((int16_t)(p->high >> 16)) << 32));
74 p->v0_low = (uint32_t)v0;
75 p->v1_low = (uint32_t)v1;
76 p->high = ((v0 >> 32) & 0xFFFF) | (((v1 >> 32) & 0xFFFF) << 16);
80 template <
typename IT>
86 DistEdgeList(MPI_Comm & myWorld);
87 DistEdgeList (
const char * filename, IT globaln, IT globalm);
90 void Dump64bit(std::string filename);
91 void Dump32bit(std::string filename);
92 void GenGraph500Data(
double initiator[4],
int log_numverts,
int edgefactor,
bool scramble =
false,
bool packed=
false);
93 void CleanupEmpties();
99 std::shared_ptr<CommGrid> commGrid;
111 void SetMemSize(IT ne);
113 template<
typename IU>
116 template <
typename IU>
119 template <
class IU,
class NU,
class UDER>
123 template<
typename IU>
packed_edge * getPackedEdges() const
void PermEdges(DistEdgeList< IT > &DEL)
void RenameVertices(DistEdgeList< IU > &DEL)
IT getNumLocalEdges() const
int64_t getGlobalV() const
struct combblas::packed_edge packed_edge