Module pytorch_cpuinfo::ffi
source · [−]Structs
Constants
Intel Airmont microarchitecture (14 nm out-of-order Atom).
ARM7 series.
ARM9 series.
ARM 1136, ARM 1156, ARM 1176, or ARM 11MPCore.
AMD Bobcat mobile microarchitecture.
Intel Atom on 45 nm process.
Broadcom Brahma B15.
Broadcom Brahma B53.
Intel Broadwell microarchitecture.
AMD Bulldozer microarchitecture Zambezi FX-series CPUs, Zurich, Valencia and Interlagos Opteron CPUs.
Nvidia Carmel.
Intel Core 2 microarchitecture on 65 nm process.
ARM Cortex-A5.
ARM Cortex-A7.
ARM Cortex-A8.
ARM Cortex-A9.
ARM Cortex-A12.
ARM Cortex-A15.
ARM Cortex-A17.
ARM Cortex-A32.
ARM Cortex-A35.
ARM Cortex-A53.
ARM Cortex-A55.
ARM Cortex-A55 revision 0 (restricted dual-issue capabilities compared to revision 1+).
ARM Cortex-A57.
ARM Cortex-A65.
ARM Cortex-A72.
ARM Cortex-A73.
ARM Cortex-A75.
ARM Cortex-A76.
Samsung Exynos M5 (Exynos 9830 big cores).
ARM Cortex-A77.
ARM Cortex-A78.
ARM Cortex-A510.
ARM Cortex-A710.
ARM Cortex-X1.
ARM Cortex-X2.
Apple A7 processor.
Nvidia Denver.
Nvidia Denver 2.
Applied Micro X-Gene.
Pentium M.
AMD Excavator microarchitecture (Carizzo APUs).
Samsung Exynos M1 (Exynos 8890 big cores).
Samsung Exynos M2 (Exynos 8895 big cores).
Samsung Exynos M3 (Exynos 9810 big cores).
Samsung Exynos M4 (Exynos 9820 big cores).
Samsung Exynos M5 (Exynos 9830 big cores).
Qualcomm Falkor.
Apple M1 processor (big cores).
NSC Geode and AMD Geode GX and LX.
Intel Goldmont microarchitecture (Denverton, Apollo Lake).
Intel Goldmont Plus microarchitecture (Gemini Lake).
Intel Haswell microarchitecture (Core i3/i5/i7 4th gen).
Apple A10 and A10X processor.
Apple M1 processor (little cores).
Intel Ivy Bridge microarchitecture (Core i3/i5/i7 3rd gen).
AMD Jaguar mobile microarchitecture.
AMD K6 and alike.
AMD Athlon and Duron.
AMD Athlon 64, Opteron 64.
AMD Family 10h (Barcelona, Istambul, Magny-Cours).
DEPRECATED (Intel Kaby Lake microarchitecture).
Intel Knights Corner HPC boards (aka Xeon Phi).
Intel Knights Ferry HPC boards.
Intel Knights Hill microarchitecture (third-gen MIC).
Intel Knights Landing microarchitecture (second-gen MIC).
Intel Knights Mill Xeon Phi.
Qualcomm Krait.
Qualcomm Kryo.
Apple A13 processor (big cores).
Samsung Exynos M5 (Exynos 9830 big cores).
Samsung Exynos M5 (Exynos 9830 big cores).
Apple A11 processor (little cores).
Samsung Exynos M5 (Exynos 9830 big cores).
Samsung Exynos M5 (Exynos 9830 big cores).
Apple A11 processor (big cores).
Intel Nehalem and Westmere microarchitectures (Core i3/i5/i7 1st gen).
ARM Neoverse E1.
ARM Neoverse N1.
ARM Neoverse N2.
ARM Neoverse V1.
Pentium and Pentium MMX microarchitecture.
Pentium Pro, Pentium II, and Pentium III.
Intel Palm Cove microarchitecture (10 nm, Cannon Lake).
Intel Core 2 microarchitecture on 45 nm process.
AMD Piledriver microarchitecture Vishera FX-series CPUs, Trinity and Richland APUs, Delhi, Seoul, Abu Dhabi Opteron CPUs.
Marvell PJ4.
Pentium 4 with Prescott and later cores.
AMD Puma mobile microarchitecture.
Intel Quark microarchitecture.
Intel Atom on 32 nm process.
Intel Sandy Bridge microarchitecture (Core i3/i5/i7 2nd gen).
Qualcomm Saphira.
Qualcomm Scorpion.
Intel Silvermont microarchitecture (22 nm out-of-order Atom).
Intel Sky Lake microarchitecture (14 nm, including Kaby/Coffee/Whiskey/Amber/Comet/Cascade/Cooper Lake).
AMD Steamroller microarchitecture (Kaveri APUs).
Intel Sunny Cove microarchitecture (10 nm, Ice Lake).
Apple A6 and A6X processors.
HiSilicon TaiShan v110 (Huawei Kunpeng 920 series processors).
Apple A12 processor (little cores).
Apple A13 processor (little cores).
Cavium ThunderX.
Cavium ThunderX2 (originally Broadcom Vulkan).
Apple A9 and A9X processor.
Apple A8 and A8X processor.
Microarchitecture is unknown, or the library failed to get information about the microarchitecture from OS
Apple A12 processor (big cores).
Pentium 4 with Willamette, Northwood, or Foster cores.
Applied Micro X-Gene.
Intel/Marvell XScale series.
Intel Core microarchitecture.
AMD Zen microarchitecture (12/14 nm Ryzen and EPYC CPUs).
AMD Zen 2 microarchitecture (7 nm Ryzen and EPYC CPUs).
AMD Zen 3 microarchitecture.
Advanced Micro Devices, Inc. Vendor of x86 and x86-64 processor microarchitectures.
Applied Micro Circuits Corporation (APM). Vendor of ARM64 processor microarchitectures.
Apple Inc. Vendor of ARM and ARM64 processor microarchitectures.
ARM Holdings plc. Vendor of ARM and ARM64 processor microarchitectures.
Broadcom, Inc. Vendor of ARM processor microarchitectures.
Cavium, Inc. Vendor of ARM64 processor microarchitectures.
Cyrix Corporation. Vendor of x86 processor microarchitectures.
Digital Equipment Corporation. Vendor of ARM processor microarchitecture.
DM&P Electronics Inc. Vendor of x86 processor microarchitectures.
Huawei Technologies Co., Ltd. Vendor of ARM64 processor microarchitectures.
Hygon (Chengdu Haiguang Integrated Circuit Design Co., Ltd), Vendor of x86-64 processor microarchitectures.
International Business Machines Corporation. Vendor of PowerPC processor microarchitectures.
Ingenic Semiconductor. Vendor of MIPS processor microarchitectures.
Intel Corporation. Vendor of x86, x86-64, IA64, and ARM processor microarchitectures.
Marvell Technology Group Ltd. Vendor of ARM processor microarchitectures.
MIPS Technologies, Inc. Vendor of MIPS processor microarchitectures.
Motorola, Inc. Vendor of PowerPC and ARM processor microarchitectures.
NexGen. Vendor of x86 processor microarchitectures.
National Semiconductor. Vendor of x86 processor microarchitectures.
Nvidia Corporation. Vendor of ARM64-compatible processor microarchitectures.
Qualcomm Incorporated. Vendor of ARM and ARM64 processor microarchitectures.
RDC Semiconductor Co., Ltd. Vendor of x86 processor microarchitectures.
Rise Technology. Vendor of x86 processor microarchitectures.
Samsung Electronics Co., Ltd. Vendir if ARM64 processor microarchitectures.
Silicon Integrated Systems. Vendor of x86 processor microarchitectures.
Texas Instruments Inc. Vendor of ARM processor microarchitectures.
Transmeta Corporation. Vendor of x86 processor microarchitectures.
United Microelectronics Corporation. Vendor of x86 processor microarchitectures.
Processor vendor is not known to the library, or the library failed to get vendor information from the OS.
VIA Technologies, Inc. Vendor of x86 and x86-64 processor microarchitectures.
Statics
Functions
Identify the core that executes the current thread.
Identify the logical processor that executes the current thread.
Identify the microarchitecture index of the core that executes the current thread. If the system does not support such identification, the function returns 0.
Identify the microarchitecture index of the core that executes the current thread. If the system does not support such identification, the function returns the user-specified default value.
Returns upper bound on cache size.
Type Definitions
Processor microarchitecture
Vendor of processor core design