Update README.md

This commit is contained in:
nihui
2024-02-20 23:10:06 +08:00
committed by GitHub
parent 3ae3a44c74
commit f4b9089e6d
+2 -2
View File
@@ -11,10 +11,10 @@ detect cpu isa features with single-file
int main() int main()
{ {
// initialize ruapu once // initialize ruapu once
ruapu_cpu_init(); ruapu_init();
// now, tell me if this cpu has avx2 // now, tell me if this cpu has avx2
int has_avx2 = ruapu_cpu_supports("avx2"); int has_avx2 = ruapu_supports("avx2");
return 0; return 0;
} }