commit:     cefd8055bcd26110405beb8698db2a5c85691808
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 26 15:12:40 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 28 09:12:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cefd8055

profiles/desc: Add amx_* to CPU_FLAGS_X86

Add `amx_bf16`, `amx_int8` and `amx_tile` to `CPU_FLAGS_x86`,
as needed for `sci-ml/ollama::guru`.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/42265
Closes: https://github.com/gentoo/gentoo/pull/42265
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 profiles/desc/cpu_flags_x86.desc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/profiles/desc/cpu_flags_x86.desc b/profiles/desc/cpu_flags_x86.desc
index 3de7350d8c48..fd8f2e749ba1 100644
--- a/profiles/desc/cpu_flags_x86.desc
+++ b/profiles/desc/cpu_flags_x86.desc
@@ -8,6 +8,9 @@
 3dnow - Use the 3DNow! instruction set
 3dnowext - Use the Enhanced 3DNow! instruction set
 aes - Enable support for Intel's AES instruction set (AES-NI)
+amx_bf16 - Use Advanced Matrix Extensions tile computational operations on 
bfloat16 numbers
+amx_tile - Use Advanced Matrix Extensions tile architecture support
+amx_int8 - Use Advanced Matrix Extensions tile computational operations on 
8-bit integers
 avx - Adds support for Advanced Vector Extensions instructions
 avx_vnni - Use AVX (VEX-encoded) versions of the Vector Neural Network 
Instructions
 avx2 - Adds support for Advanced Vector Extensions 2 instructions

Reply via email to