mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
dpc++ didn't like rdtsc()
This commit is contained in:
parent
59c51d2c35
commit
7caed4edd9
@ -95,7 +95,8 @@ inline uint64_t cyclecount(void){
|
||||
}
|
||||
#elif defined __x86_64__
|
||||
inline uint64_t cyclecount(void){
|
||||
return __rdtsc();
|
||||
uint64_t ret = __rdtsc();
|
||||
return (uint64_t)ret;
|
||||
}
|
||||
#else
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user