]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
add OpenBLAS detection and modify tests codes (#40)
authorkatsu560 <redacted>
Wed, 22 Mar 2023 19:51:47 +0000 (04:51 +0900)
committerGitHub <redacted>
Wed, 22 Mar 2023 19:51:47 +0000 (21:51 +0200)
commit434b8eaf66438321c612998ae468afce85c60ef6
tree705e211c6188875e29af282be10e8ed7a990408f
parent2aed6241ebd157fce550cea42df10a8af1a1b34a
add OpenBLAS detection and modify tests codes (#40)

* fix indents and commands for Haiku, and add OpenBLAS detection in src/CMakeLists.txt

* add system detection and add OpenBLAS detection

* change loop number by environment variable GGML_NLOOP or command line option

* change fmadd codes on no FMA support system

* change n_threads by environment variable GGML_NTHREADS or command line option

---------

Co-authored-by: Georgi Gerganov <redacted>
src/CMakeLists.txt
tests/CMakeLists.txt
tests/test-grad0.c
tests/test-mul-mat0.c
tests/test-vec1.c
tests/test2.c