add startup numa sense

This commit is contained in:
Youmu Liu
2026-04-02 18:13:32 +08:00
parent ba30c02cb3
commit 2f74e5e8a9
10 changed files with 273 additions and 45 deletions
-10
View File
@@ -340,16 +340,6 @@ SN_API SIMDID SN_DECL sn_get_simd_level_local()
return simdid;
}
SN_API SIMDID SN_DECL sn_get_simd_level_global()
{
if (global_simdid.mask) {
return global_simdid;
}
global_simdid = sn_get_simd_level_local();
return global_simdid;
}
#else
SN_API SIMDID SN_DECL sn_get_simd_level_local()