1
0
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:
u37294 2020-05-04 10:27:05 -07:00
parent 59c51d2c35
commit 7caed4edd9

View File

@ -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