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

OS X icpc fix

This commit is contained in:
Antonin Portelli 2016-04-30 00:13:33 -07:00
parent cf2f69812b
commit 3f128443ab

View File

@ -65,7 +65,10 @@ inline uint64_t cyclecount(void){
return tmp;
}
#elif defined __x86_64__
#include <immintrin.h>
#ifndef __INTEL_COMPILER
#include <x86intrin.h>
#endif
inline uint64_t cyclecount(void){
return __rdtsc();
}