Fix signature for unsigned long long variant of atomicExch

This fixes #888

Change-Id: I2b2dc5ed1ff2a26083ad9d102eccac90f67801ae


[ROCm/hip commit: f0618df8f4]
This commit is contained in:
Maneesh Gupta
2019-02-13 09:45:07 +05:30
bovenliggende f18ddd57da
commit 8f1b3d34f7
@@ -112,7 +112,7 @@ unsigned int atomicExch(unsigned int* address, unsigned int val)
}
__device__
inline
unsigned int atomicExch(unsigned long long* address, unsigned long long val)
unsigned long long atomicExch(unsigned long long* address, unsigned long long val)
{
return __atomic_exchange_n(address, val, __ATOMIC_RELAXED);
}