/cpu

internal/cpu in Go ( add AVX512)

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

cpu

internal/cpu(in Go standard lib) with these detections:

  • AVX512

  • Cache Size

  • Invariant TSC

It also provides:

  • False sharing range, see X86FalseSharingRange for X86 platform.

  • TSC frequency

  • Name

  • Family & Model

Acknowledgement

klauspost/cpuid