Update in clock function

Change-Id: I5819aa62693dc3b9b5d7e39944d1e58aadc72027


[ROCm/hip commit: d46b3446de]
This commit is contained in:
Rahul Garg
2016-05-20 11:12:32 +05:30
parent 760c8c4990
commit 170796f4e9
2 changed files with 3 additions and 13 deletions
+2 -2
View File
@@ -501,8 +501,8 @@ __device__ double trunc(double x)
const int warpSize = 64;
__device__ long long int clock64() { return (long long int)hc::__clock_u64(); };
__device__ clock_t clock() { return (clock_t)hc::__clock_u64(); };
__device__ long long int clock64() { return (long long int)hc::__cycle_u64(); };
__device__ clock_t clock() { return (clock_t)hc::__cycle_u64(); };
//atomicAdd()