]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
tests : Fix compilation warnings (Linux/GCC) (#2451)
authorEve <redacted>
Wed, 2 Aug 2023 08:06:19 +0000 (04:06 -0400)
committerGitHub <redacted>
Wed, 2 Aug 2023 08:06:19 +0000 (11:06 +0300)
commit81844fbcfd93a162b7aeaea9e4f2ab1358f7f97e
treea191f51cb59df2bef37f0b892b93e74cb562599d
parenta312193e184b919047f33a5e844d846c5538dbe6
tests : Fix compilation warnings (Linux/GCC) (#2451)

* fix hellaswag print format, cast away warning in test-double-float

* c++11 cannot use designated initializers

* add static to test-grad0.c internal functions

* use memcpy in test-double-float.c

* port c tests to c++

* use initializer list for ggml_init_params
Makefile
examples/common.cpp
scripts/sync-ggml.sh
tests/CMakeLists.txt
tests/test-double-float.c [deleted file]
tests/test-double-float.cpp [new file with mode: 0644]
tests/test-grad0.c [deleted file]
tests/test-grad0.cpp [new file with mode: 0644]
tests/test-opt.c [deleted file]
tests/test-opt.cpp [new file with mode: 0644]