Skip to content

Commit a6fe4dd

Browse files
committed
Fix CI build failure
See https://github.com/ggml-org/llama.cpp/actions/runs/16798370266/job/47573716079?pr=15132#step:7:486 Building with VS generator worked though.
1 parent 9296d1f commit a6fe4dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/mean.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void ggml_cuda_op_mean(ggml_backend_cuda_context & ctx, ggml_tensor * dst) {
1616

1717
const dim3 block_nums(nrows, 1, 1);
1818
if ((nrows / ctx.sm_count) < 2) {
19-
constexpr dim3 block_dims(512, 1, 1);
19+
const dim3 block_dims(512, 1, 1);
2020
reduce_rows_f32</*norm=*/true><<<block_nums, block_dims, 0, stream>>>(src0_d, dst_d, ncols);
2121
} else {
2222
const dim3 block_dims(ncols < 1024 ? 32 : 128, 1, 1);

0 commit comments

Comments
 (0)