llama : use smart pointers for ggml resources (#10117)

This commit is contained in:
Diego Devesa 2024-11-01 23:48:26 +01:00 committed by GitHub
parent 418f5eef26
commit e991e3127f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 219 additions and 245 deletions

View file

@ -1368,6 +1368,7 @@ add_library(ggml
../include/ggml.h
../include/ggml-alloc.h
../include/ggml-backend.h
../include/ggml-cpp.h
ggml.c
ggml-alloc.c
ggml-backend.cpp