10#include "CombBLAS/CombBLAS.h"
43template <
typename PARMAT>
75 cout <<
"Usage: ./rcm <rmat|er|input> <scale|filename> <splitPerThread>" <<
endl;
76 cout <<
"Example: mpirun -np 4 ./rcm rmat 20" <<
endl;
77 cout <<
"Example: mpirun -np 4 ./rcm er 20" <<
endl;
78 cout <<
"Example: mpirun -np 4 ./rcm input a.mtx" <<
endl;
90 if(
string(
argv[1]) ==
string(
"input"))
106 tinfo <<
"Bandwidth before random permutation " <<
bw <<
endl;
107 tinfo <<
"Profile before random permutation " <<
pf <<
endl;
114 else if(
string(
argv[1]) ==
string(
"rmat"))
118 double initiator[4] = {.57, .19, .19, .05};
127 else if(
string(
argv[1]) ==
string(
"er"))
131 double initiator[4] = {.25, .25, .25, .25};
double cblas_transvectime
SpParMat< int64_t, bool, SpDCCols< int64_t, bool > > Par_DCSC_Bool
double cblas_localspmvtime
double cblas_allgathertime
double cblas_alltoalltime
SpParMat< int64_t, bool, SpCCols< int64_t, bool > > Par_CSC_Bool
SpParMat< int64_t, double, SpDCCols< int64_t, double > > Par_DCSC_Double
SpParMat< int64_t, int64_t, SpDCCols< int64_t, int64_t > > Par_DCSC_int64_t
double cblas_mergeconttime
void GenGraph500Data(double initiator[4], int log_numverts, int edgefactor, bool scramble=false, bool packed=false)
static void GatherMatrix(MPI_Comm &comm1d, SpMat< IT, NT, DER > &Matrix, int root)
static void Print(const std::string &s)
void Symmetricize(PARMAT &A)