Fix incorrect shfl_xor for Windows

copy/paste error, need __shfl_xor w/ lane_mask
Этот коммит содержится в:
Nick Curtis
2020-03-10 12:04:05 -05:00
коммит произвёл GitHub
родитель 31b1d5e4a4
Коммит a9af4755cb
+1 -1
Просмотреть файл
@@ -557,7 +557,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_xor(static_cast<int>(var), lane_mask, width));
#endif
}
__device__