all matrix multiplication backend

This commit is contained in:
slaren 2024-06-14 21:44:55 +02:00
parent f8ec8877b7
commit f3974cabac
3 changed files with 276 additions and 1 deletions

5
ggml.c
View file

@ -911,6 +911,11 @@ ggml_type_traits_t ggml_internal_get_type_traits(enum ggml_type type) {
return type_traits[type];
}
const ggml_type_traits_t * ggml_internal_get_type_traits_ptr(enum ggml_type type) {
GGML_ASSERT(type < GGML_TYPE_COUNT);
return &type_traits[type];
}
//
// simd mappings
//