From c05974cab1c06e3f0f9ac1f118a2e8c0d074d892 Mon Sep 17 00:00:00 2001 From: egolearner Date: Thu, 12 Mar 2026 14:06:04 +0800 Subject: [PATCH] fix compile (#218) * fix compile * fix missing include * Revert "fix missing include" This reverts commit 295b52b0a5057a1c979b0316faf80e864031a0cb. --------- Co-authored-by: rayx --- src/ailego/math/norm1_matrix_fp16.cc | 1 + src/ailego/math/norm1_matrix_fp32.cc | 1 + src/ailego/math/norm2_matrix_fp16.cc | 1 + 3 files changed, 3 insertions(+) diff --git a/src/ailego/math/norm1_matrix_fp16.cc b/src/ailego/math/norm1_matrix_fp16.cc index 9bb8620..e75b3e0 100644 --- a/src/ailego/math/norm1_matrix_fp16.cc +++ b/src/ailego/math/norm1_matrix_fp16.cc @@ -13,6 +13,7 @@ // limitations under the License. #include +#include "ailego/internal/cpu_features.h" #include "norm1_matrix.h" #include "norm_matrix_fp16.i" diff --git a/src/ailego/math/norm1_matrix_fp32.cc b/src/ailego/math/norm1_matrix_fp32.cc index c1ec366..2e72791 100644 --- a/src/ailego/math/norm1_matrix_fp32.cc +++ b/src/ailego/math/norm1_matrix_fp32.cc @@ -13,6 +13,7 @@ // limitations under the License. #include +#include "ailego/internal/cpu_features.h" #include "norm1_matrix.h" #include "norm_matrix_fp32.i" diff --git a/src/ailego/math/norm2_matrix_fp16.cc b/src/ailego/math/norm2_matrix_fp16.cc index 37c3313..6bb8dd0 100644 --- a/src/ailego/math/norm2_matrix_fp16.cc +++ b/src/ailego/math/norm2_matrix_fp16.cc @@ -13,6 +13,7 @@ // limitations under the License. #include +#include "ailego/internal/cpu_features.h" #include "norm2_matrix.h" #include "norm_matrix_fp16.i"