Skip to content

SIMD Showcase v0.9.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 22:13
· 1 commit to main since this release

Added

  • App logo and icon.
    • The design is a glossy indigo chip with a chrome-to-neon rim. A Mandelbrot silhouette is sliced into cyan-to-pink SIMD lanes, above an 8-cell vector register.
    • It is drawn procedurally, simplifies itself at small sizes, and animates with a sweeping glint on the About tab.
    • The exe, window, taskbar and Alt-Tab now show it through a multi-size resources/app.ico. The README header uses it too.
    • --rendericon=DIR re-exports the PNGs and the .ico.
  • Signed releases.
    • Stable releases from 0.9.0 on carry an ECDSA P-256 signature (<zip>.sig), made with a key that never touches CI. The updater checks it against a public key built into the app, through Windows CNG.
    • An unsigned or badly signed stable release is refused.
    • Nightly builds are CI-made, so they are unsigned. They are still checked against their SHA-256, and the Updates tab labels them "Unsigned nightly".
    • scripts/New-ReleaseKey.ps1 creates the maintainer key, protected with DPAPI. scripts/Sign-Release.ps1 signs and uploads a release.
  • CPUs with more than 64 threads. Topology, thread pinning (SetThreadGroupAffinity), the core and SMT selectors, and the CPU card now cover every processor group. The card switches to a dense layout above 40 cores and tints each group. Set SIMD_FAKE_TOPOLOGY=96x2,groups=3 to try a big layout on any PC, and use --threads=N to pick a thread count.
  • D3D12 pipeline and CUDA module caching. D3D12 pipeline state goes in an ID3D12PipelineLibrary, and CUDA modules are kept as linked cubins in the shader cache. Most of the start-up time is device creation, so the saving is small, but neither recompiles any more.

Changed

  • Cold first launch. The D3D11, visualizer and glass-blur shaders compile on worker threads, so the window and splash appear in under a second on a first launch instead of after about 3.5 s of blank window. Until they're ready, the D3D11 mode is unavailable, the visualizer says it's compiling, and panels draw without the blur. A failed compile shows as "Failed" in the splash.

Self-test on the build machine:

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

Scalar       ILPx1    104.42 ms    0.000% pixels differ   OK
Scalar       ILPx2     56.31 ms    0.000% pixels differ   OK
Scalar       ILPx4     56.03 ms    0.000% pixels differ   OK
MMX          ILPx1     85.86 ms    3.159% pixels differ   OK
MMX          ILPx2     86.28 ms    3.159% pixels differ   OK
MMX          ILPx4     85.92 ms    3.159% pixels differ   OK
3DNow!       skipped (not supported)
SSE          ILPx1     28.14 ms    0.344% pixels differ   OK
SSE          ILPx2     15.69 ms    0.344% pixels differ   OK
SSE          ILPx4     20.66 ms    0.344% pixels differ   OK
SSE2         ILPx1     53.58 ms    0.001% pixels differ   OK
SSE2         ILPx2     30.27 ms    0.001% pixels differ   OK
SSE2         ILPx4     39.51 ms    0.001% pixels differ   OK
SSE3         ILPx1    142.26 ms    0.000% pixels differ   OK
SSE3         ILPx2     81.87 ms    0.000% pixels differ   OK
SSE3         ILPx4     51.69 ms    0.000% pixels differ   OK
SSE4.1       ILPx1     59.08 ms    0.001% pixels differ   OK
SSE4.1       ILPx2     34.22 ms    0.001% pixels differ   OK
SSE4.1       ILPx4     37.27 ms    0.001% pixels differ   OK
AVX          ILPx1     27.74 ms    0.001% pixels differ   OK
AVX          ILPx2     15.84 ms    0.001% pixels differ   OK
AVX          ILPx4     16.12 ms    0.001% pixels differ   OK
FMA4         skipped (not supported)
AVX2         ILPx1     27.46 ms    0.005% pixels differ   OK
AVX2         ILPx2     15.94 ms    0.005% pixels differ   OK
AVX2         ILPx4     17.85 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     39.574 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D9 FP64    skipped (no FP64)
D3D10  FP32     14.155 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D10 FP64    skipped (no FP64)
D3D12  FP32     39.439 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D12  FP64    101.371 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)

Start-up jobs: 2 of 2 ran   OK

Extensions Lab
  POPCNT       Popcount                 0.383 ms ->     0.165 ms  (  2.32x)  OK
  LZCNT        Leading zeros            1.631 ms ->     0.083 ms  ( 19.65x)  OK
  BMI1         Bit iteration            6.186 ms ->     1.645 ms  (  3.76x)  OK
  BMI2         Morton codes             0.280 ms ->     0.268 ms  (  1.04x)  OK
  ADX + MULX   Bignum multiply          0.228 ms ->     0.188 ms  (  1.21x)  OK
  MOVBE        Big-endian load          0.228 ms ->     0.083 ms  (  2.77x)  OK
  SSE4.2       CRC-32C                  2.619 ms ->     0.123 ms  ( 21.23x)  OK
  SSE4a        Bit-field extract        0.022 ms ->     0.083 ms  (  0.26x)  OK
  XOP          Vector rotate        skipped
  PCLMULQDQ    Carry-less multiply      3.735 ms ->     0.019 ms  (201.74x)  OK
  AES-NI       AES-128                  1.893 ms ->     0.015 ms  (126.33x)  OK
  SHA          SHA-256                  1.087 ms ->     0.200 ms  (  5.43x)  OK
  F16C         Half floats              3.771 ms ->     0.072 ms  ( 52.58x)  OK
  RDRAND       Hardware RNG             0.061 ms ->     1.038 ms  (  0.06x)  OK
  RDSEED       Entropy source           0.008 ms ->     3.683 ms  (  0.00x)  OK
  VAES         Wide AES                 0.035 ms ->     0.016 ms  (  2.16x)  OK
  VPCLMULQDQ   Wide CLMUL               0.019 ms ->     0.018 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