ggml : reading the runtime sve config of the cpu (llama/8709)

* ggml : reading the runtime sve config of the cpu

* change to one time init to prevent performance drop

* prefix variable to avoid possible conflicts

* revert xxhash fix and add brackets

---------

Co-authored-by: domke <673751-domke@users.noreply.gitlab.com>
This commit is contained in:
jdomke
2024-08-08 22:48:46 +03:00
committed by Georgi Gerganov
co-authored by domke
parent 6cb38c3673
commit a902fb4ab2
5 changed files with 30 additions and 16 deletions
+1
View File
@@ -143,6 +143,7 @@ extern "C" {
#if defined(__ARM_FEATURE_SVE)
#include <arm_sve.h>
#include <sys/prctl.h>
#endif
// 16-bit float