Merge pull request #1925 from arghdos/patch-3

Fix incorrect shfl_xor for Windows

[ROCm/hip commit: f98ce58e06]
Этот коммит содержится в:
Evgeny Mankov
2020-03-11 00:58:11 +03:00
коммит произвёл GitHub
родитель ef7f9eba59 98b7cb62aa
Коммит 808cf888c0
+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__