2024-02-21 13:01:59 +08:00
2024-02-21 13:01:59 +08:00
2024-02-21 12:47:11 +08:00

ruapu

detect cpu isa features with single-file

CPU ✅ x86, x86-64
✅ arm, aarch64
#define RUAPU_IMPLEMENTATION
#include "ruapu.h"

int main()
{
    // initialize ruapu once
    ruapu_init();

    // now, tell me if this cpu has avx2
    int has_avx2 = ruapu_supports("avx2");

    return 0;
}
OS✅ Windows
✅ Linux
✅ macOS
✅ Android
✅ iOS
Compiler✅ GCC
✅ Clang
✅ MSVC
✅ MinGW
S
Description
No description provided
Readme
306 KiB
Languages
C 61.7%
CMake 9.4%
Fortran 4.9%
Dart 3.9%
Rust 3.6%
Other 16.5%