summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-double-float.cpp2
-rw-r--r--tests/test-quantize-fns.cpp7
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/test-double-float.cpp b/tests/test-double-float.cpp
index afd7bf77..753dae91 100644
--- a/tests/test-double-float.cpp
+++ b/tests/test-double-float.cpp
@@ -4,7 +4,7 @@
#undef NDEBUG
#include <cassert>
-#if !defined(__riscv) && !defined(__s390__)
+#if !defined(__riscv) && !defined(__s390__) && !defined(__ARM_NEON)
#include <immintrin.h>
#endif
#include <cmath>
diff --git a/tests/test-quantize-fns.cpp b/tests/test-quantize-fns.cpp
index 884af405..a2459a28 100644
--- a/tests/test-quantize-fns.cpp
+++ b/tests/test-quantize-fns.cpp
@@ -129,6 +129,13 @@ int main(int argc, char * argv[]) {
ggml_type type = (ggml_type) i;
ggml_type_traits_t qfns = ggml_internal_get_type_traits(type);
+ // deprecated - skip
+ if (qfns.blck_size == 0) {
+ continue;
+ }
+
+ printf("Testing %s\n", ggml_type_name((ggml_type) i));
+
if (qfns.from_float && qfns.to_float) {
const float total_error = total_quantization_error(qfns, test_size, test_data.data());
const float max_quantization_error =