Merge "Add traits for new AVX512 CPU feature"

This commit is contained in:
Zuul 2020-07-07 02:11:33 +00:00 committed by Gerrit Code Review
commit bc784a1c1f
3 changed files with 10 additions and 2 deletions

View File

@ -67,7 +67,7 @@ os-brick==3.0.1
os-client-config==1.29.0
os-resource-classes==0.4.0
os-service-types==1.7.0
os-traits==2.2.0
os-traits==2.4.0
os-vif==1.14.0
os-win==3.0.0
os-xenapi==0.3.3

View File

@ -62,6 +62,14 @@ CPU_TRAITS_MAPPING = {
'avx512pf': os_traits.HW_CPU_X86_AVX512PF,
'avx512vl': os_traits.HW_CPU_X86_AVX512VL,
'avx512vnni': os_traits.HW_CPU_X86_AVX512VNNI,
'avx512vbmi': os_traits.HW_CPU_X86_AVX512VBMI,
'avx512ifma': os_traits.HW_CPU_X86_AVX512IFMA,
'avx512vbmi2': os_traits.HW_CPU_X86_AVX512VBMI2,
'avx512bitalg': os_traits.HW_CPU_X86_AVX512BITALG,
'vaes': os_traits.HW_CPU_X86_AVX512VAES,
'gfni': os_traits.HW_CPU_X86_AVX512GFNI,
'vpclmulqdq': os_traits.HW_CPU_X86_AVX512VPCLMULQDQ,
'avx512-vpopcntdq': os_traits.HW_CPU_X86_AVX512VPOPCNTDQ,
'bmi1': os_traits.HW_CPU_X86_BMI,
'bmi2': os_traits.HW_CPU_X86_BMI2,
'pclmuldq': os_traits.HW_CPU_X86_CLMUL,

View File

@ -54,7 +54,7 @@ psutil>=3.2.2 # BSD
oslo.versionedobjects>=1.35.0 # Apache-2.0
os-brick>=3.0.1 # Apache-2.0
os-resource-classes>=0.4.0 # Apache-2.0
os-traits>=2.2.0 # Apache-2.0
os-traits>=2.4.0 # Apache-2.0
os-vif>=1.14.0 # Apache-2.0
os-win>=3.0.0 # Apache-2.0
castellan>=0.16.0 # Apache-2.0