To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 9e899ac3 authored by ahuegli's avatar ahuegli

fixed bugs

parent d431e582
......@@ -10,7 +10,7 @@ __device__ double sumWarp(double a) {
// return the correct result.
// (although this function operates only on a single warp, it
// will be called with many threads for testing)
for(int i = 1; i < 32; i <<= 1)
for(int i = 1; i < 32; i *= 1)
a += __shfl_down_sync(0xffffffff, a, i, warpSize);
return a;
}
......
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