Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/cpu_features.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordamageboy <125730+damageboy@users.noreply.github.com>2022-10-20 12:26:13 +0300
committerGitHub <noreply@github.com>2022-10-20 12:26:13 +0300
commit8ca7c65f6533d23163040e2b4630eb6c61ce1a6c (patch)
tree32837db266fb6bcfc5fbf696a59f39a8333c007d /include
parent627959faee8a51ae46b79d8cedb5525e8803ee66 (diff)
add x86/avx512_fp16 detection (#279)
fixes #278
Diffstat (limited to 'include')
-rw-r--r--include/cpuinfo_x86.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cpuinfo_x86.h b/include/cpuinfo_x86.h
index 49704df..2e1a930 100644
--- a/include/cpuinfo_x86.h
+++ b/include/cpuinfo_x86.h
@@ -82,6 +82,7 @@ typedef struct {
int avx512_4fmaps : 1;
int avx512_bf16 : 1;
int avx512_vp2intersect : 1;
+ int avx512_fp16 : 1;
int amx_bf16 : 1;
int amx_tile : 1;
int amx_int8 : 1;
@@ -239,6 +240,7 @@ typedef enum {
X86_AVX512_4FMAPS,
X86_AVX512_BF16,
X86_AVX512_VP2INTERSECT,
+ X86_AVX512_FP16,
X86_AMX_BF16,
X86_AMX_TILE,
X86_AMX_INT8,