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:
parent
cf2f69812b
commit
3f128443ab
@ -65,8 +65,11 @@ inline uint64_t cyclecount(void){
|
|||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
#elif defined __x86_64__
|
#elif defined __x86_64__
|
||||||
|
#include <immintrin.h>
|
||||||
|
#ifndef __INTEL_COMPILER
|
||||||
#include <x86intrin.h>
|
#include <x86intrin.h>
|
||||||
inline uint64_t cyclecount(void){
|
#endif
|
||||||
|
inline uint64_t cyclecount(void){
|
||||||
return __rdtsc();
|
return __rdtsc();
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user