Commit 73f3ac47 authored by yuguo's avatar yuguo
Browse files

[DCU] little fix

parent 456a96c8
......@@ -2157,7 +2157,7 @@ __global__ void __launch_bounds__(MAX_THREADS)
atomicAdd_system(flagptr,
1); // otherwise need local SM sync before sending flag
} else { // 0 bytes and 1 SM only
#ifdef defined(__gfx928__) || defined(__gfx926__) || defined(__gfx906__)
#if defined(__gfx928__) || defined(__gfx926__) || defined(__gfx906__)
*flagptr = *flagptr + 1;
#else
atomicAdd_system(flagptr, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment