remove duplicate according to a review comment
@@ -37,6 +37,5 @@ __device__ float16 atomicAdd(float16* address, float16 val) {
: (old & 0xffff0000) | sum_as_us;
old = atomicCAS(aligned, assumed, sum_as_ui);
} while(assumed != old);
- unsigned short old_as_us = (unsigned short)((size_t)address & 2 ? old >> 16 : old & 0xffff);
return float16(old_as_us);
}
