add simd id and cpu id

This commit is contained in:
Youmu Liu
2026-01-06 18:04:17 +08:00
parent 88fa653323
commit 3d488abd2e
17 changed files with 372 additions and 615 deletions
+1 -1
View File
@@ -56,7 +56,7 @@
typedef union SIMDID {
uint64_t mask;
char make_byte[];
char make_byte[8];
} SIMDID;
SN_API SIMDID SN_DECL sn_get_simd_level();