Skip to content

Commit bc784a1

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Add traits for new AVX512 CPU feature"
2 parents 19dffce + 8fa83ff commit bc784a1

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

lower-constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ os-brick==3.0.1
6767
os-client-config==1.29.0
6868
os-resource-classes==0.4.0
6969
os-service-types==1.7.0
70-
os-traits==2.2.0
70+
os-traits==2.4.0
7171
os-vif==1.14.0
7272
os-win==3.0.0
7373
os-xenapi==0.3.3

nova/virt/libvirt/utils.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@
6262
'avx512pf': os_traits.HW_CPU_X86_AVX512PF,
6363
'avx512vl': os_traits.HW_CPU_X86_AVX512VL,
6464
'avx512vnni': os_traits.HW_CPU_X86_AVX512VNNI,
65+
'avx512vbmi': os_traits.HW_CPU_X86_AVX512VBMI,
66+
'avx512ifma': os_traits.HW_CPU_X86_AVX512IFMA,
67+
'avx512vbmi2': os_traits.HW_CPU_X86_AVX512VBMI2,
68+
'avx512bitalg': os_traits.HW_CPU_X86_AVX512BITALG,
69+
'vaes': os_traits.HW_CPU_X86_AVX512VAES,
70+
'gfni': os_traits.HW_CPU_X86_AVX512GFNI,
71+
'vpclmulqdq': os_traits.HW_CPU_X86_AVX512VPCLMULQDQ,
72+
'avx512-vpopcntdq': os_traits.HW_CPU_X86_AVX512VPOPCNTDQ,
6573
'bmi1': os_traits.HW_CPU_X86_BMI,
6674
'bmi2': os_traits.HW_CPU_X86_BMI2,
6775
'pclmuldq': os_traits.HW_CPU_X86_CLMUL,

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ psutil>=3.2.2 # BSD
5454
oslo.versionedobjects>=1.35.0 # Apache-2.0
5555
os-brick>=3.0.1 # Apache-2.0
5656
os-resource-classes>=0.4.0 # Apache-2.0
57-
os-traits>=2.2.0 # Apache-2.0
57+
os-traits>=2.4.0 # Apache-2.0
5858
os-vif>=1.14.0 # Apache-2.0
5959
os-win>=3.0.0 # Apache-2.0
6060
castellan>=0.16.0 # Apache-2.0

0 commit comments

Comments
 (0)