Fix typo in device __shfl_xor function

Change-Id: I8bcdd53ced00c596a0af013a0c34e37aa67c93ae
Этот коммит содержится в:
Vladislav Sytchenko
2020-03-10 13:23:08 -04:00
родитель bcd23335fb
Коммит 4ca9cda372
+1 -1
Просмотреть файл
@@ -548,7 +548,7 @@ long __shfl_xor(long var, int lane_mask, int width = warpSize)
return tmp1;
#else
static_assert(sizeof(long) == sizeof(int), "");
return static_cast<long>(__shfl_down(static_cast<int>(var), lane_delta, width));
return static_cast<long>(__shfl_down(static_cast<int>(var), lane_mask, width));
#endif
}
__device__