mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	ggml : fix UNUSED macro (#3762)
This commit is contained in:
		| @@ -716,7 +716,7 @@ void quantize_row_q8_0(const float * restrict x, void * restrict vy, int k) { | |||||||
|         __riscv_vse8_v_i8m1(y[i].qs , vs, vl); |         __riscv_vse8_v_i8m1(y[i].qs , vs, vl); | ||||||
|     } |     } | ||||||
| #else | #else | ||||||
|     UNUSED(nb); |     GGML_UNUSED(nb); | ||||||
|     // scalar |     // scalar | ||||||
|     quantize_row_q8_0_reference(x, y, k); |     quantize_row_q8_0_reference(x, y, k); | ||||||
| #endif | #endif | ||||||
| @@ -970,7 +970,7 @@ void quantize_row_q8_1(const float * restrict x, void * restrict vy, int k) { | |||||||
|         y[i].s = sum*d; |         y[i].s = sum*d; | ||||||
|     } |     } | ||||||
| #else | #else | ||||||
|     UNUSED(nb); |     GGML_UNUSED(nb); | ||||||
|     // scalar |     // scalar | ||||||
|     quantize_row_q8_1_reference(x, y, k); |     quantize_row_q8_1_reference(x, y, k); | ||||||
| #endif | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Georgi Gerganov
					Georgi Gerganov