1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Fix non-KNL build

This commit is contained in:
azusayamaguchi 2016-10-12 12:06:08 +01:00
parent 9b63e97108
commit 496beffa88

View File

@ -5,11 +5,14 @@
#define _KNIGHTS_LANDING_ #define _KNIGHTS_LANDING_
#endif #endif
#ifdef _KNIGHTS_LANDING_ namespace Grid {
///////////////////////////////////////////////////////////////////////////////
// Extra KNL counters from MCDRAM
///////////////////////////////////////////////////////////////////////////////
#ifdef _KNIGHTS_LANDING_
#define NMC 6 #define NMC 6
#define NEDC 8 #define NEDC 8
namespace Grid {
struct ctrs struct ctrs
{ {
uint64_t mcrd[NMC]; uint64_t mcrd[NMC];
@ -37,6 +40,7 @@ struct knl_gbl_
int edc_missm[NEDC]; int edc_missm[NEDC];
}; };
#endif #endif
///////////////////////////////////////////////////////////////////////////////
class PmuStat class PmuStat
{ {
@ -95,6 +99,6 @@ public:
}; };
} }
#endif #endif