summaryrefslogtreecommitdiff
path: root/examples/llama-bench/llama-bench.cpp
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-09-15 19:06:03 +0300
committerGitHub <noreply@github.com>2023-09-15 19:06:03 +0300
commit8c00b7a6ff38e27fa1e471452b8a480913772c2a (patch)
treee8741c604dffd11c8d21dec5fbd7823e1007098a /examples/llama-bench/llama-bench.cpp
parent7e50d34be68aae2cc766203703dd188e910e033a (diff)
sync : ggml (Metal F32 support + reduce ggml-alloc size) (#3192)
* sync : ggml (Metal F32 support + reduce ggml-alloc size) ggml-ci * llama-bench : fix ggml_cpu_has_metal() duplicate function ggml-ci
Diffstat (limited to 'examples/llama-bench/llama-bench.cpp')
-rw-r--r--examples/llama-bench/llama-bench.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/llama-bench/llama-bench.cpp b/examples/llama-bench/llama-bench.cpp
index dedaa34f..34ddfde3 100644
--- a/examples/llama-bench/llama-bench.cpp
+++ b/examples/llama-bench/llama-bench.cpp
@@ -74,14 +74,6 @@ static T stdev(const std::vector<T> & v) {
return stdev;
}
-static bool ggml_cpu_has_metal() {
-#if defined(GGML_USE_METAL)
- return true;
-#else
- return false;
-#endif
-}
-
static std::string get_cpu_info() {
std::string id;
#ifdef __linux__