]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml backends interface v1 (#547)
authorslaren <redacted>
Fri, 6 Oct 2023 16:51:25 +0000 (18:51 +0200)
committerGitHub <redacted>
Fri, 6 Oct 2023 16:51:25 +0000 (18:51 +0200)
commitfc9e9558d9e90e8f943bae1cb622fd6113431a9a
treef0bb1a1093f9f702228b90236f2509fabb350912
parent4a771d5afedab53abdd3a9af0afd35c05b7ad205
ggml backends interface v1 (#547)

* ggml backends interface v1

* ggml-backend : metal (#552)

---------

Co-authored-by: Georgi Gerganov <redacted>
14 files changed:
.gitignore
examples/gpt-2/CMakeLists.txt
examples/gpt-2/main.cpp
include/ggml/ggml-alloc.h
include/ggml/ggml-backend.h [new file with mode: 0644]
include/ggml/ggml.h
src/CMakeLists.txt
src/ggml-alloc.c
src/ggml-backend.c [new file with mode: 0644]
src/ggml-cuda.cu
src/ggml-cuda.h
src/ggml-metal.h
src/ggml-metal.m
src/ggml.c