fix codestyle

This commit is contained in:
Eddie-Wang1120 2024-06-09 21:22:50 +08:00
parent 3a0f8b0697
commit 97d22be58c
3 changed files with 6 additions and 4 deletions

2
ggml.c
View file

@ -12349,7 +12349,7 @@ static void ggml_compute_forward_mul_mat_one_chunk(
// attempt to reduce false-sharing (does not seem to make a difference)
// 16 * 2, accounting for mmla kernels
float tmp[32];
float * scale = (float * )((uint8_t*) (src0->data) + (ne00 * ne01 / 4));
const float * scale = (float * )((uint8_t*) (src0->data) + (ne00 * ne01 / 4));
const float * act_scales = (const float*) ((const char *) wdata + (ne11 * ne10));
for (int64_t iir1 = ir1_start; iir1 < ir1_end; iir1 += blck_1) {