COMBINATORIAL_BLAS  1.6
papi_combblas_globals.h
Go to the documentation of this file.
1 #ifndef PAPI_COMBBLAS_GLOBALS_
2 #define PAPI_COMBBLAS_GLOBALS_
3 
4 #include <papi.h>
5 #include <string>
6 #include <vector>
7 
8 
9 char spmv_errorstring[PAPI_MAX_STR_LEN+1];
10 std::string bfs_papi_labels = {"SpMV", "fringe_updt", "parents_updt"};
12 
13 
15 
16 
17 std::string spmv_papi_labels = {"Fan-Out", "LocalSpMV", "Fan-In", "Merge"};
18 
19 std::string combblas_event_names [] = {"PAPI_TOT_INS", "PAPI_L1_TCM", "PAPI_L2_TCM", "PAPI_L3_TCM"};
20 int combblas_papi_events [] = {PAPI_TOT_INS, PAPI_L1_TCM, PAPI_L2_TCM, PAPI_L3_TCM};
22 
23 // outer index: SpMV iteration, middle index: papi_labels, inner index: papi events
24 // dimensions: <#iterations> <num_bfs_papi_labels> <combblas_papi_num_events+1>
25 std::vector< std::vector< std::vector<long long> > > bfs_counters;
26 std::vector< std::vector< std::vector<long long> > > spmv_counters;
27 
28 
29 
30 #endif
char spmv_errorstring[PAPI_MAX_STR_LEN+1]
int combblas_papi_events[]
std::vector< std::vector< std::vector< long long > > > spmv_counters
std::string bfs_papi_labels
int num_bfs_papi_labels
std::string spmv_papi_labels
std::vector< std::vector< std::vector< long long > > > bfs_counters
std::string combblas_event_names[]
int combblas_papi_num_events