COMBINATORIAL_BLAS 1.6
 
Loading...
Searching...
No Matches
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
9char spmv_errorstring[PAPI_MAX_STR_LEN+1];
10std::string bfs_papi_labels = {"SpMV", "fringe_updt", "parents_updt"};
12
13
15
16
17std::string spmv_papi_labels = {"Fan-Out", "LocalSpMV", "Fan-In", "Merge"};
18
19std::string combblas_event_names [] = {"PAPI_TOT_INS", "PAPI_L1_TCM", "PAPI_L2_TCM", "PAPI_L3_TCM"};
20int 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>
25std::vector< std::vector< std::vector<long long> > > bfs_counters;
26std::vector< std::vector< std::vector<long long> > > spmv_counters;
27
28
29
30#endif
int combblas_papi_events[]
std::vector< std::vector< std::vector< long long > > > bfs_counters
int num_bfs_papi_labels
std::string spmv_papi_labels
char spmv_errorstring[PAPI_MAX_STR_LEN+1]
int combblas_papi_num_events
std::vector< std::vector< std::vector< long long > > > spmv_counters
std::string combblas_event_names[]
std::string bfs_papi_labels