Skip to content

Commit c14b77f

Browse files
committed
fix 32b build
1 parent e46275c commit c14b77f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ggml/src/ggml-vulkan/ggml-vulkan.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6756,7 +6756,7 @@ static void ggml_vk_mul_mat_vec_q_f16(ggml_backend_vk_context * ctx, vk_context&
67566756
uint32_t enable_bias = ctx->num_additional_fused_ops > 0;
67576757

67586758
vk_buffer d_B = d_D;
6759-
uint64_t b_buf_offset = 0;
6759+
size_t b_buf_offset = 0;
67606760
uint64_t b_sz = 0;
67616761

67626762
if (enable_bias) {
@@ -6891,7 +6891,7 @@ static void ggml_vk_mul_mat_vec_p021_f16_f32(ggml_backend_vk_context * ctx, vk_c
68916891
uint32_t enable_bias = ctx->num_additional_fused_ops > 0;
68926892

68936893
vk_buffer d_B = d_D;
6894-
uint64_t b_buf_offset = 0;
6894+
size_t b_buf_offset = 0;
68956895
uint64_t b_sz = 0;
68966896

68976897
if (enable_bias) {
@@ -7028,7 +7028,7 @@ static void ggml_vk_mul_mat_vec_nc_f16_f32(ggml_backend_vk_context * ctx, vk_con
70287028
uint32_t enable_bias = ctx->num_additional_fused_ops > 0;
70297029

70307030
vk_buffer d_B = d_D;
7031-
uint64_t b_buf_offset = 0;
7031+
size_t b_buf_offset = 0;
70327032
uint64_t b_sz = 0;
70337033

70347034
if (enable_bias) {
@@ -7604,7 +7604,7 @@ static void ggml_vk_mul_mat_vec_id_q_f16(ggml_backend_vk_context * ctx, vk_conte
76047604
uint32_t enable_bias = ctx->num_additional_fused_ops > 0;
76057605

76067606
vk_buffer d_B = d_D;
7607-
uint64_t b_buf_offset = 0;
7607+
size_t b_buf_offset = 0;
76087608
uint64_t b_sz = 0;
76097609

76107610
if (enable_bias) {

0 commit comments

Comments
 (0)