File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 39
39
#include <unistd.h>
40
40
#endif
41
41
42
- #if defined(__ARM_ARCH)
43
- struct ggml_arm_arch_features_type {
44
- int has_neon;
45
- int has_i8mm;
46
- int has_sve;
47
- int sve_cnt;
48
- } ggml_arm_arch_features = {-1, -1, -1, 0};
49
- #endif
50
-
51
42
#if defined(__ARM_FEATURE_SVE) || defined(__ARM_FEATURE_MATMUL_INT8)
52
43
#undef GGML_USE_LLAMAFILE
53
44
#endif
@@ -461,6 +452,15 @@ static ggml_fp16_t ggml_table_gelu_quick_f16[1 << 16];
461
452
// precomputed f32 table for f16 (256 KB) (ggml-impl.h)
462
453
float ggml_table_f32_f16[1 << 16];
463
454
455
+ #if defined(__ARM_ARCH)
456
+ struct ggml_arm_arch_features_type {
457
+ int has_neon;
458
+ int has_i8mm;
459
+ int has_sve;
460
+ int sve_cnt;
461
+ } ggml_arm_arch_features = {-1, -1, -1, 0};
462
+ #endif
463
+
464
464
GGML_CALL const char * ggml_status_to_string(enum ggml_status status) {
465
465
switch (status) {
466
466
case GGML_STATUS_ALLOC_FAILED: return "GGML status: error (failed to allocate memory)";
You can’t perform that action at this time.
0 commit comments