1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-04-27 05:56:01 +01:00

namespace fix

This commit is contained in:
2016-11-08 19:07:47 +00:00
parent 34cf702b24
commit 9576f0903d
+3 -1
View File
@@ -43,6 +43,9 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
#else
#include <sys/syscall.h>
#endif
#ifdef __x86_64__
#include <x86intrin.h>
#endif
namespace Grid {
@@ -86,7 +89,6 @@ inline uint64_t cyclecount(void){
return tmp;
}
#elif defined __x86_64__
#include <x86intrin.h>
inline uint64_t cyclecount(void){
return __rdtsc();
// unsigned int dummy;