We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7e53a commit a888688Copy full SHA for a888688
ggml/src/ggml-cuda/reduce_rows.cuh
@@ -39,7 +39,7 @@ static __global__ void reduce_rows_f32(const float * __restrict__ x, float * __r
39
}
40
__syncthreads();
41
sum = 0.0f;
42
- if (lane_id < (blockDim.x / WARP_SIZE)) {
+ if (lane_id < (static_cast<int>(blockDim.x) / WARP_SIZE)) {
43
sum = s_sum[lane_id];
44
45
sum = warp_reduce_sum(sum);
0 commit comments