1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

align not absolutely required and confuses clang++

This commit is contained in:
azusayamaguchi 2016-10-12 11:51:21 +01:00
parent 81f2aeaece
commit 9b63e97108

View File

@ -40,11 +40,11 @@ struct knl_gbl_
class PmuStat class PmuStat
{ {
const char *name; uint64_t counters[8][256];
__declspec(align(64)) uint64_t counters[8][256];
#ifdef _KNIGHTS_LANDING_ #ifdef _KNIGHTS_LANDING_
static struct knl_gbl_ gbl; static struct knl_gbl_ gbl;
#endif #endif
const char *name;
uint64_t reads; // memory reads uint64_t reads; // memory reads
uint64_t writes; // memory writes uint64_t writes; // memory writes