mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
remove rdtsc on __NVCC__ as may be device called
This commit is contained in:
parent
bd08dc4f45
commit
acd4955a18
@ -89,6 +89,9 @@ inline uint64_t cyclecount(void){
|
||||
return tmp;
|
||||
}
|
||||
#elif defined __x86_64__
|
||||
#ifdef GRID_NVCC
|
||||
accelerator_inline uint64_t __rdtsc(void) { return 0; }
|
||||
#endif
|
||||
inline uint64_t cyclecount(void){
|
||||
return __rdtsc();
|
||||
// unsigned int dummy;
|
||||
|
Loading…
Reference in New Issue
Block a user