Merge pull request #916 from mangupta/swdev-179677

Fix signature for unsigned long long variant of atomicExch

[ROCm/clr commit: ea223a7f1c]
This commit is contained in:
Maneesh Gupta
2019-02-14 12:46:32 +05:30
committed by GitHub
@@ -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);
}