Fix hideous typos.

Dieser Commit ist enthalten in:
Alex Voicu
2018-06-03 03:03:55 +01:00
committet von GitHub
Ursprung 13a1917741
Commit 92c106bcf5
+2 -2
Datei anzeigen
@@ -57,7 +57,7 @@ __device__
inline
float atomicAdd(float* address, float val)
{
unsigned int* uaddr{reinterpret_cast<unsigned int*>(uaddr)};
unsigned int* uaddr{reinterpret_cast<unsigned int*>(address)};
unsigned int old{__atomic_load_n(uaddr, __ATOMIC_RELAXED)};
unsigned int r;
@@ -72,7 +72,7 @@ __device__
inline
double atomicAdd(double* address, double val)
{
unsigned long long* uaddr{reinterpret_cast<unsigned long long*>(uaddr)};
unsigned long long* uaddr{reinterpret_cast<unsigned long long*>(address)};
unsigned long long old{__atomic_load_n(uaddr, __ATOMIC_RELAXED)};
unsigned long long r;