Fix signature for unsigned long long variant of atomicExch
This fixes #888
Change-Id: I2b2dc5ed1ff2a26083ad9d102eccac90f67801ae
[ROCm/hip commit: f0618df8f4]
Este commit está contenido en:
1 padre
f18ddd57da
commit
8f1b3d34f7
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user