mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	allocators wip
renamed ggml_backend functions changed ggml_buffer and ggml_backend to always be used as pointers rename ggml_tensor::params -> op_params
This commit is contained in:
		| @@ -6,12 +6,14 @@ | ||||
| extern "C" { | ||||
| #endif | ||||
|  | ||||
| void * ggml_cuda_host_malloc(size_t size); | ||||
| void   ggml_cuda_host_free(void * ptr); | ||||
| GGML_API void * ggml_cuda_host_malloc(size_t size); | ||||
| GGML_API void   ggml_cuda_host_free(void * ptr); | ||||
| GGML_API void   ggml_cuda_host_register(void * ptr, size_t size); | ||||
| GGML_API void   ggml_cuda_host_unregister(void * ptr); | ||||
|  | ||||
| // backend API | ||||
|  | ||||
| struct ggml_backend ggml_backend_cuda_init(); | ||||
| GGML_API struct ggml_backend * ggml_backend_cuda_init(); | ||||
|  | ||||
|  | ||||
| #ifdef  __cplusplus | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 slaren
					slaren