29#ifndef _DIST_EDGE_LIST_H_
30#define _DIST_EDGE_LIST_H_
65static inline int64_t get_v0_from_edge(
const packed_edge* p) {
66 return (p->v0_low | ((
int64_t)((
int16_t)(p->high & 0xFFFF)) << 32));
69static inline int64_t get_v1_from_edge(
const packed_edge* p) {
73static inline void write_edge(packed_edge* p,
int64_t v0,
int64_t v1) {
76 p->high = ((v0 >> 32) & 0xFFFF) | (((v1 >> 32) & 0xFFFF) << 16);
111 void SetMemSize(
IT ne);
113 template<
typename IU>
116 template <
typename IU>
119 template <
class IU,
class NU,
class UDER>
void GenGraph500Data(double initiator[4], int log_numverts, int edgefactor, bool scramble=false, bool packed=false)
void Dump64bit(std::string filename)
IT getNumLocalEdges() const
friend void RenameVertices(DistEdgeList< IU > &DEL)
DistEdgeList(MPI_Comm &myWorld)
void Dump32bit(std::string filename)
DistEdgeList(const char *filename, IT globaln, IT globalm)
packed_edge * getPackedEdges() const
friend void PermEdges(DistEdgeList< IU > &DEL)
std::shared_ptr< CommGrid > commGrid
int64_t getGlobalV() const
void PermEdges(DistEdgeList< IT > &DEL)
struct combblas::packed_edge packed_edge