mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	ggml : move FP16 <-> FP32 code to ggml-impl.h (#3861)
* ggml : move FP16 <-> FP32 stuff to ggml-impl.h ggml-ci * tests : fix ARM build * ggml : explicitly initialize deprecated type traits * ggml : add math.h to ggml-impl.h * ggml : remove duplicate static assert macros * ggml : prefix lookup tables with ggml_ ggml-ci * ggml-impl : move extern "C" to start of file
This commit is contained in:
		| @@ -1467,7 +1467,7 @@ static int32_t llama_kv_cache_cell_max(const struct llama_kv_cache & cache) { | ||||
| } | ||||
|  | ||||
| static void llama_kv_cache_clear(struct llama_kv_cache & cache) { | ||||
|     for (int32_t i = 0; i < cache.size; ++i) { | ||||
|     for (int32_t i = 0; i < (int32_t) cache.size; ++i) { | ||||
|         cache.cells[i].pos = -1; | ||||
|         cache.cells[i].seq_id.clear(); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Georgi Gerganov
					Georgi Gerganov