Elffuss BraidHub

kikocis/kleidiai public

Branch: main
655592420abd fix: Improve SME2 F32 elastic GEMM kernel performance Viet-Hoa Do,
..
CMakeLists.txt924 B
README.md925 B
matmul_clamp_f32_qsi8d32p_qsi4c32p.cpp22.2 KiB

README.md

KleidiAI Examples

Building

From the examples/matmul_clamp_f32_qsi8d32p_qsi4c32p dir

Linux®-target

$ mkdir -p build && cd build
$ cmake -DCMAKE_C_COMPILER=/path/to/aarch64-none-linux-gnu-gcc -DCMAKE_CXX_COMPILER=/path/to/aarch64-none-linux-gnu-g++ -DCMAKE_BUILD_TYPE=Release ../

Android™-target

$ mkdir -p build && cd build
$ cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/android-ndk/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=30  -DCMAKE_BUILD_TYPE=Release ../

Usage

$ ./matmul_clamp_f32_qsi8d32p_qsi4c32p --threads <thread count>

Replace <thread count> with the number of worker threads to use for the matmul operation. Use --help to list every supported command-line argument.