Debian Codegraph @

examples/matmul_clamp_f32_qsi8d32p_qsi4c32p/README.md

raw symbols SCIP
1 <!--
2 SPDX-FileCopyrightText: Copyright 2024-2025 Arm Limited and/or its affiliates <[email protected]>
3
4 SPDX-License-Identifier: Apache-2.0
5 -->
6
7 # KleidiAI Examples
8
9 ## Building
10
11 From the examples/matmul_clamp_f32_qsi8d32p_qsi4c32p dir
12
13 ### Linux®-target
14
15 ```
16 $ mkdir -p build && cd build
17 $ 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 ../
18 ```
19
20 ### Android™-target
21
22 ```
23 $ mkdir -p build && cd build
24 $ cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/android-ndk/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=30 -DCMAKE_BUILD_TYPE=Release ../
25 ```
26
27 ## Usage
28
29 ```
30 $ ./matmul_clamp_f32_qsi8d32p_qsi4c32p --threads <thread count>
31 ```
32
33 Replace `<thread count>` with the number of worker threads to use for the matmul operation. Use `--help` to list every supported command-line argument.