ggml : move CPU backend to a separate file (#10144)
This commit is contained in:
parent
08828a6d7d
commit
9f40989351
32 changed files with 14747 additions and 19345 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <type_traits>
|
||||
|
||||
#include <ggml.h>
|
||||
#include <ggml-cpu.h>
|
||||
|
||||
constexpr int kVecSize = 1 << 16;
|
||||
|
||||
|
@ -136,7 +137,7 @@ int main(int argc, char** argv) {
|
|||
|
||||
auto ggml_type = type == 0 ? GGML_TYPE_Q4_0 : GGML_TYPE_Q4_1;
|
||||
|
||||
const auto * funcs = ggml_get_type_traits(ggml_type);
|
||||
const auto * funcs = ggml_get_type_traits_cpu(ggml_type);
|
||||
|
||||
Stat simple, ggml;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue