Skip to content

SIMD Showcase v0.8.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 17:37
· 18 commits to main since this release

Added

  • Settings window. Open it with the gear beside the version, the S key, or by clicking the version capsule (which opens About).
    • General: tooltips, GPU card style, which panels are shown, and a keyboard-shortcut list. A reset button restores the defaults.
    • Performance: VSync, a frame-rate cap (30/60/120/144), process priority and 1 ms timer resolution. The shader cache shows its size, with buttons to open its folder or clear it. "Run self-test" runs the full CPU/GPU self-test in the background and shows the result.
    • Updates: see the self-updater below.
    • About: version, commit and build date, this machine's CPU, GPU and supported modes ("Copy system info" for bug reports), credits and licences.
    • Settings are remembered in simd_showcase_v2.ini.
  • Self-updater.
    • Checks GitHub Releases at start-up (optional), for stable releases or the nightly build of main.
    • Downloads the release zip, checks its size and SHA-256 digest, and unpacks it.
    • On "Restart and update", it swaps the files in place and relaunches. The old files are kept as .old until the next start.
    • An "Update available" chip appears next to the FPS counter.
    • Works anonymously for public releases. It falls back to a signed-in GitHub CLI, or a pasted token stored encrypted with Windows DPAPI.
    • --updatetest checks both channels from the command line.
  • MIT licence. The release zip now carries LICENSE and Dear ImGui's licence.

Fixed

  • Display freeze when a GPU API fails. A backend that errored or hung mid-frame (driver reset, device error) left the screen frozen for good. A watchdog now switches that API off after an error or 10 s, says so in the Throughput panel, and carries on in another mode.
  • Block-scaled FP4 verification. The MXFP4 and NVFP4 checks now give every block its own scale, which proves the scale layout; the old uniform-scale check could not.
  • CUDA fault handling. A CUDA fault now ends the frame with an error instead of waiting forever.
  • Low-Precision Lab cancel. Closing the app mid-run stops the lab between formats instead of hanging.
  • Precision ladder units. Every tier's epsilon is now one unit in the last place. FP64, FP8, FP6 and FP4 had used half that, which overstated their deepest zoom by 2x.
  • Start-up:
    • No crash on exit when Direct3D 11 is unavailable.
    • No hang when closing while shaders compile.
    • DPI awareness is set before any window exists, so text is no longer blurry on high-DPI screens.
    • --bench now includes every GPU API.
  • Frame-rate cap: accurate without the 1 ms timer option.
  • Self-test from Settings: quitting mid-test no longer leaves a hidden process running.
  • Self-test coverage: it now covers odd image widths for the two-pixel FP16/BF16 kernels, and runs the tensor-core lab.

Self-test on the build machine:

SIMD Showcase 0.8.0 (e021acc) self-test
CPU: AMD EPYC 7763 64-Core Processor (AuthenticAMD)
AVX10 version 0, 512-bit 0, OS AVX-512 state 0

Scalar       ILPx1    150.08 ms    0.000% pixels differ   OK
Scalar       ILPx2     66.61 ms    0.000% pixels differ   OK
Scalar       ILPx4     59.17 ms    0.000% pixels differ   OK
MMX          ILPx1     85.86 ms    3.159% pixels differ   OK
MMX          ILPx2     86.83 ms    3.159% pixels differ   OK
MMX          ILPx4     86.03 ms    3.159% pixels differ   OK
3DNow!       skipped (not supported)
SSE          ILPx1     28.30 ms    0.344% pixels differ   OK
SSE          ILPx2     15.58 ms    0.344% pixels differ   OK
SSE          ILPx4     31.35 ms    0.344% pixels differ   OK
SSE2         ILPx1     55.01 ms    0.001% pixels differ   OK
SSE2         ILPx2     30.33 ms    0.001% pixels differ   OK
SSE2         ILPx4     38.94 ms    0.001% pixels differ   OK
SSE3         ILPx1    147.30 ms    0.000% pixels differ   OK
SSE3         ILPx2     89.39 ms    0.000% pixels differ   OK
SSE3         ILPx4     51.63 ms    0.000% pixels differ   OK
SSE4.1       ILPx1     58.80 ms    0.001% pixels differ   OK
SSE4.1       ILPx2     34.16 ms    0.001% pixels differ   OK
SSE4.1       ILPx4     55.85 ms    0.001% pixels differ   OK
AVX          ILPx1     28.82 ms    0.001% pixels differ   OK
AVX          ILPx2     16.24 ms    0.001% pixels differ   OK
AVX          ILPx4     15.99 ms    0.001% pixels differ   OK
FMA4         skipped (not supported)
AVX2         ILPx1     26.93 ms    0.005% pixels differ   OK
AVX2         ILPx2     14.80 ms    0.005% pixels differ   OK
AVX2         ILPx4     17.69 ms    0.005% pixels differ   OK
AVX-512/256  skipped (not supported)
AVX-512      skipped (not supported)
AVX10.1      skipped (not supported)
AVX10.2      skipped (not supported)
3DNow! logic (SSE stand-in)           0.056% pixels differ vs FP32   OK

D3D9   FP32     75.757 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D9 FP64    skipped (no FP64)
D3D10  FP32     27.837 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D10 FP64    skipped (no FP64)
D3D12  FP32     75.258 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D12  FP64    171.307 ms    0.000% pixels differ   OK   [Microsoft Basic Render Driver]
OpenGL       skipped (OpenGL 4.3 core context unavailable)
OpenCL       skipped (No OpenCL platforms installed)
Vulkan       skipped (vkCreateInstance failed (-9))
CUDA         skipped (No NVIDIA driver (nvcuda.dll not found))
HIP          skipped (AMD HIP runtime not found)

Extensions Lab
  POPCNT       Popcount                 0.385 ms ->     0.084 ms  (  4.59x)  OK
  LZCNT        Leading zeros            1.657 ms ->     0.083 ms  ( 19.84x)  OK
  BMI1         Bit iteration            6.319 ms ->     1.768 ms  (  3.57x)  OK
  BMI2         Morton codes             0.280 ms ->     0.267 ms  (  1.05x)  OK
  ADX + MULX   Bignum multiply          0.229 ms ->     0.187 ms  (  1.23x)  OK
  MOVBE        Big-endian load          0.227 ms ->     0.050 ms  (  4.52x)  OK
  SSE4.2       CRC-32C                  2.620 ms ->     0.124 ms  ( 21.20x)  OK
  SSE4a        Bit-field extract        0.023 ms ->     0.088 ms  (  0.26x)  OK
  XOP          Vector rotate        skipped
  PCLMULQDQ    Carry-less multiply      3.724 ms ->     0.019 ms  (200.16x)  OK
  AES-NI       AES-128                  1.979 ms ->     0.015 ms  (133.00x)  OK
  SHA          SHA-256                  1.731 ms ->     0.292 ms  (  5.92x)  OK
  F16C         Half floats              3.861 ms ->     0.076 ms  ( 50.56x)  OK
  RDRAND       Hardware RNG             0.061 ms ->     0.863 ms  (  0.07x)  OK
  RDSEED       Entropy source           0.008 ms ->     3.760 ms  (  0.00x)  OK
  VAES         Wide AES                 0.030 ms ->     0.017 ms  (  1.81x)  OK
  VPCLMULQDQ   Wide CLMUL               0.019 ms ->     0.017 ms  (  1.06x)  OK
  GFNI         Bit reverse          skipped
  AVX-VNNI     Int8 dot product     skipped
  AVX512-VNNI  Int8 dot product     skipped
  AVX512-BF16  BF16 dot product     skipped
  AVX512-FP16  FP16 arithmetic      skipped
  VPOPCNTDQ    Vector popcount      skipped
  BITALG       Byte popcount        skipped
  AVX-512F     Stream compaction    skipped
  AVX-512CD    Conflict detection   skipped
  AVX512-IFMA  52-bit MAC           skipped
  AVX512-VBMI  Byte permute         skipped
  AMX-INT8     Int8 tile GEMM       skipped
  AMX-BF16     BF16 tile GEMM       skipped

SELFTEST PASSED