Fix incorrect shfl_xor for Windows
copy/paste error, need __shfl_xor w/ lane_mask
[ROCm/clr commit: a9af4755cb]
这个提交包含在:
1 父节点
ce6b791ddb
当前提交
cf2629a95c
1 个文件已更改
+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__
|
||||
|
||||
在新工单中引用
屏蔽一个用户