Update in clock function

Change-Id: I5819aa62693dc3b9b5d7e39944d1e58aadc72027


[ROCm/clr commit: 02a6c1fbe0]
This commit is contained in:
Rahul Garg
2016-05-20 11:12:32 +05:30
parent a34e3be329
commit 5b74d1666a
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()