llama-bench : fix ggml_cpu_has_metal() duplicate function
ggml-ci
This commit is contained in:
parent
f1358606f0
commit
b041a3fd23
1 changed files with 0 additions and 8 deletions
|
@ -74,14 +74,6 @@ static T stdev(const std::vector<T> & v) {
|
||||||
return stdev;
|
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() {
|
static std::string get_cpu_info() {
|
||||||
std::string id;
|
std::string id;
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue