Download ggml/src/ggml-virtgpu/backend/backend-convert.h from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 543 Bytes
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/ggml/src/ggml-virtgpu/backend/backend-convert.h
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github/ggml/src/ggml-virtgpu/backend/backend-convert.h
-
curl -L -o backend-convert.h https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/ggml/src/ggml-virtgpu/backend/backend-convert.h
543 Bytes
| static inline apir_buffer_host_handle_t ggml_buffer_to_apir_handle(ggml_backend_buffer_t buffer) { | |
| // in the backend, the buffer handle is the buffer pointer | |
| return (apir_buffer_host_handle_t) buffer; | |
| } | |
| static inline apir_buffer_type_host_handle_t ggml_buffer_type_to_apir_handle(ggml_backend_buffer_type_t buft) { | |
| // in the backend, the buffer handle is the buffer pointer | |
| return (apir_buffer_type_host_handle_t) buft; | |
| } | |