From fd3139ceaa0414331c8d98c8419421f656ae9655 Mon Sep 17 00:00:00 2001 From: Paul Zander Date: Tue, 1 Apr 2025 00:05:40 +0200 Subject: [PATCH] profiles/desc: add cpu_flags for ollama Signed-off-by: Paul Zander --- profiles/desc/cpu_flags_x86.desc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 profiles/desc/cpu_flags_x86.desc diff --git a/profiles/desc/cpu_flags_x86.desc b/profiles/desc/cpu_flags_x86.desc new file mode 100644 index 0000000000..5733ef8ff7 --- /dev/null +++ b/profiles/desc/cpu_flags_x86.desc @@ -0,0 +1,11 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Whenever the flag name does not correspond to /proc/cpuinfo flags, +# please put the cpuinfo flag in square brackets. If more than one flag +# is specified, any of them will enable the respective USE flag. + +amx_bf16 - Use Advanced Matrix Extensions BFloat16 instruction set +amx_tile - Use Advanced Matrix Extensions Tile Matrix Multiply Instruction set +amx_int8 - Use Advanced Matrix Extensions INT8 instruction set +avx_vnni - Use VEX-coded vector neural network instructions for 8- and 16-bit multiply-add operations