mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	tests : fix compile warning
This commit is contained in:
		| @@ -79,9 +79,9 @@ static float dot_product(const float * a1, const float * a2, size_t test_size) { | |||||||
| } | } | ||||||
|  |  | ||||||
| // Total dot product error | // Total dot product error | ||||||
| static float dot_product_error( | static float dot_product_error(const ggml_type_traits * qfns, const ggml_type_traits_cpu * qfns_cpu, size_t test_size, const float * test_data1, const float * test_data2) { | ||||||
|     const ggml_type_traits * qfns, const ggml_type_traits_cpu * qfns_cpu, size_t test_size, const float * test_data1, const float *test_data2 |     GGML_UNUSED(qfns); | ||||||
| ) { |  | ||||||
|     std::vector<uint8_t> tmp_q1(2*test_size); |     std::vector<uint8_t> tmp_q1(2*test_size); | ||||||
|     std::vector<uint8_t> tmp_q2(2*test_size); |     std::vector<uint8_t> tmp_q2(2*test_size); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Georgi Gerganov
					Georgi Gerganov