1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00: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_
#endif
#ifdef _KNIGHTS_LANDING_
namespace Grid {
///////////////////////////////////////////////////////////////////////////////
// Extra KNL counters from MCDRAM
///////////////////////////////////////////////////////////////////////////////
#ifdef _KNIGHTS_LANDING_
#define NMC 6
#define NEDC 8
namespace Grid {
struct ctrs
{
uint64_t mcrd[NMC];
@ -37,6 +40,7 @@ struct knl_gbl_
int edc_missm[NEDC];
};
#endif
///////////////////////////////////////////////////////////////////////////////
class PmuStat
{
@ -95,6 +99,6 @@ public:
};
}
#endif