Skip to content

Commit e3161b8

Browse files
committed
ggml : add backend registry / device interfaces to BLAS backend
1 parent 6374743 commit e3161b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ggml/src/ggml-backend.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,10 @@ struct ggml_backend_registry {
559559

560560
// TODO: sycl, vulkan, kompute, cann
561561

562+
#ifdef GGML_USE_BLAS
563+
register_backend(ggml_backend_blas_reg());
564+
#endif
565+
562566
register_backend(ggml_backend_cpu_reg());
563567
}
564568

0 commit comments

Comments
 (0)