#[non_exhaustive]#[repr(i32)]pub enum CpuQuery {
Show 36 variants
LogicalCount = 0,
LittleCount = 1,
BigCount = 2,
PhysicalCount = 3,
PhysicalLittleCount = 4,
PhysicalBigCount = 5,
L2Bytes = 6,
L3Bytes = 7,
Avx = 8,
Fma = 9,
Fma4 = 10,
Xop = 11,
F16c = 12,
Avx2 = 13,
AvxVnni = 14,
AvxVnniInt8 = 15,
AvxVnniInt16 = 16,
AvxNeConvert = 17,
Avx512 = 18,
Avx512Vnni = 19,
Avx512Bf16 = 20,
Avx512Fp16 = 21,
ArmEdsp = 22,
ArmNeon = 23,
ArmVfpv4 = 24,
ArmFp16 = 25,
ArmCpuid = 26,
ArmDotProduct = 27,
ArmFp16Fma = 28,
ArmBf16 = 29,
ArmI8mm = 30,
ArmSve = 31,
ArmSve2 = 32,
ArmSveBf16 = 33,
ArmSveI8mm = 34,
ArmSveF32mm = 35,
}Expand description
Identifies one native CPU capability query.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
LogicalCount = 0
Counts logical processors.
LittleCount = 1
Counts processors in the little cluster.
BigCount = 2
Counts processors in the big cluster.
PhysicalCount = 3
Counts physical cores.
PhysicalLittleCount = 4
Counts physical little-cluster cores.
PhysicalBigCount = 5
Counts physical big-cluster cores.
L2Bytes = 6
Reports the L2 cache size in bytes.
L3Bytes = 7
Reports the L3 cache size in bytes.
Avx = 8
Reports AVX support.
Fma = 9
Reports FMA support.
Fma4 = 10
Reports FMA4 support.
Xop = 11
Reports XOP support.
F16c = 12
Reports F16C support.
Avx2 = 13
Reports AVX2 support.
AvxVnni = 14
Reports AVX-VNNI support.
AvxVnniInt8 = 15
Reports AVX-VNNI-INT8 support.
AvxVnniInt16 = 16
Reports AVX-VNNI-INT16 support.
AvxNeConvert = 17
Reports AVX-NE-CONVERT support.
Avx512 = 18
Reports AVX-512 support.
Avx512Vnni = 19
Reports AVX-512 VNNI support.
Avx512Bf16 = 20
Reports AVX-512 BF16 support.
Avx512Fp16 = 21
Reports AVX-512 FP16 support.
ArmEdsp = 22
Reports ARM EDSP support.
ArmNeon = 23
Reports ARM NEON support.
ArmVfpv4 = 24
Reports ARM VFPv4 support.
ArmFp16 = 25
Reports ARM FP16 support.
ArmCpuid = 26
Reports whether ARM CPUID queries are available.
ArmDotProduct = 27
Reports ARM dot-product support.
ArmFp16Fma = 28
Reports ARM FP16 multiply-accumulate support.
ArmBf16 = 29
Reports ARM BF16 support.
ArmI8mm = 30
Reports ARM INT8 matrix-multiply support.
ArmSve = 31
Reports ARM SVE support.
ArmSve2 = 32
Reports ARM SVE2 support.
ArmSveBf16 = 33
Reports ARM SVE BF16 support.
ArmSveI8mm = 34
Reports ARM SVE INT8 matrix-multiply support.
ArmSveF32mm = 35
Reports ARM SVE FP32 matrix-multiply support.