Skip to content

Commit

Permalink
move unsed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinForce-II committed May 23, 2024
1 parent ba1987f commit 21a44e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ggml.c
Original file line number Diff line number Diff line change
Expand Up @@ -12427,7 +12427,6 @@ static void ggml_compute_forward_mul_mat_one_chunk(
const bool src1_cont = ggml_is_contiguous(src1);

ggml_vec_dot_t const vec_dot = type_traits[type].vec_dot;
ggml_to_float_t const to_float = type_traits[type].to_float;
enum ggml_type const vec_dot_type = type_traits[type].vec_dot_type;

// broadcast factors
Expand Down Expand Up @@ -12491,6 +12490,8 @@ static void ggml_compute_forward_mul_mat_one_chunk(
const int64_t ii03 = ii13 / r3;
const int64_t ii02 = ii12 / r2;

ggml_to_float_t const to_float = type_traits[type].to_float;

const char * src0_row = (const char*)src0->data + (0 + ii02 * nb02 + ii03 * nb03);
const uint8_t * src1_col = (const uint8_t *)src1->data + ii11 * nb11 + ii12 * nb12 + ii13 * nb13;
for (int i = 0; i < blck_0 && iir0 + i < ir0_end; ++i) {
Expand Down

0 comments on commit 21a44e9

Please sign in to comment.