Commit 970109b4 authored by zhuwenwen's avatar zhuwenwen
Browse files

fix error

parent c40bf687
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
__inline__ __device__ float WarpAllReduceMax(float val) { __inline__ __device__ float WarpAllReduceMax(float val) {
for (int mask = 1; mask < 32; mask *= 2) { for (int mask = 1; mask < 32; mask *= 2) {
val = max(val, __shfl_xorc(val, mask)); val = max(val, __shfl_xor(val, mask));
} }
return val; return val;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment