ggml : fix ppc64le build error and make cmake detect Power processors (#1284)

* Fix ppc64le build issue

* Added support to detect ppc64* processors
This commit is contained in:
Marvin Gießing
2023-05-02 18:42:16 +02:00
committed by GitHub
parent 2bb992f034
commit cc0bb7235c
2 changed files with 5 additions and 1 deletions

1
ggml.c
View File

@@ -826,6 +826,7 @@ static void quantize_row_q4_0(const float * restrict x, void * restrict vy, int
float max = 0.0f;
float min = 0.0f;
vector float asrcv [8];
vector float srcv [8];
vector float maxv[8];
vector float minv[8];