Skip to content

Releases

SIMD Showcase v0.9.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 22:13

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

SIMD Showcase v0.8.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 17:37

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

Latest main build

Latest main build Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Nov 22:16

Automatic build of main at 69edcd3 (version 0.9.0, unreleased).

Self-test on the CI runner:

SIMD Showcase 0.9.0 (69edcd3) self-test
CPU: AMD EPYC 9V45 96-Core Processor (AuthenticAMD)
AVX10 version 0, 512-bit 0, OS AVX-512 state 1

Scalar       ILPx1     70.95 ms    0.000% pixels differ   OK
Scalar       ILPx2     39.71 ms    0.000% pixels differ   OK
Scalar       ILPx4     38.96 ms    0.000% pixels differ   OK
MMX          ILPx1     84.16 ms    3.159% pixels differ   OK
MMX          ILPx2     84.40 ms    3.159% pixels differ   OK
MMX          ILPx4     83.69 ms    3.159% pixels differ   OK
3DNow!       skipped (not supported)
SSE          ILPx1     18.23 ms    0.344% pixels differ   OK
SSE          ILPx2     10.86 ms    0.344% pixels differ   OK
SSE          ILPx4     14.58 ms    0.344% pixels differ   OK
SSE2         ILPx1     33.56 ms    0.001% pixels differ   OK
SSE2         ILPx2     21.83 ms    0.001% pixels differ   OK
SSE2         ILPx4     29.72 ms    0.001% pixels differ   OK
SSE3         ILPx1     89.29 ms    0.000% pixels differ   OK
SSE3         ILPx2     52.96 ms    0.000% pixels differ   OK
SSE3         ILPx4     32.01 ms    0.000% pixels differ   OK
SSE4.1       ILPx1     46.15 ms    0.001% pixels differ   OK
SSE4.1       ILPx2     29.03 ms    0.001% pixels differ   OK
SSE4.1       ILPx4     33.17 ms    0.001% pixels differ   OK
AVX          ILPx1     19.18 ms    0.001% pixels differ   OK
AVX          ILPx2     11.20 ms    0.001% pixels differ   OK
AVX          ILPx4     10.96 ms    0.001% pixels differ   OK
FMA4         skipped (not supported)
AVX2         ILPx1     18.67 ms    0.005% pixels differ   OK
AVX2         ILPx2     10.79 ms    0.005% pixels differ   OK
AVX2         ILPx4     12.41 ms    0.005% pixels differ   OK
AVX-512/256  ILPx1     19.68 ms    0.005% pixels differ   OK
AVX-512/256  ILPx2     11.07 ms    0.005% pixels differ   OK
AVX-512/256  ILPx4      7.44 ms    0.005% pixels differ   OK
AVX-512      ILPx1      9.54 ms    0.004% pixels differ   OK
AVX-512      ILPx2      5.86 ms    0.004% pixels differ   OK
AVX-512      ILPx4      4.05 ms    0.004% pixels differ   OK
AVX10.1      skipped (not supported)
AVX10.2      skipped (not supported)
3DNow! logic (SSE stand-in)           0.056% pixels differ vs FP32   OK

D3D9   FP32     33.173 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D9 FP64    skipped (no FP64)
D3D10  FP32     11.560 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D10 FP64    skipped (no FP64)
D3D12  FP32     36.021 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D12  FP64     55.059 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.119 ms ->     0.061 ms  (  1.95x)  OK
  LZCNT        Leading zeros            1.325 ms ->     0.061 ms  ( 21.73x)  OK
  BMI1         Bit iteration            5.203 ms ->     0.761 ms  (  6.83x)  OK
  BMI2         Morton codes             0.181 ms ->     0.113 ms  (  1.60x)  OK
  ADX + MULX   Bignum multiply          0.132 ms ->     0.110 ms  (  1.20x)  OK
  MOVBE        Big-endian load          0.135 ms ->     0.030 ms  (  4.51x)  OK
  SSE4.2       CRC-32C                  1.903 ms ->     0.089 ms  ( 21.35x)  OK
  SSE4a        Bit-field extract        0.015 ms ->     0.032 ms  (  0.48x)  OK
  XOP          Vector rotate        skipped
  PCLMULQDQ    Carry-less multiply      3.289 ms ->     0.011 ms  (288.53x)  OK
  AES-NI       AES-128                  1.197 ms ->     0.010 ms  (121.15x)  OK
  SHA          SHA-256                  0.693 ms ->     0.156 ms  (  4.44x)  OK
  F16C         Half floats              2.869 ms ->     0.037 ms  ( 78.18x)  OK
  RDRAND       Hardware RNG             0.045 ms ->     0.558 ms  (  0.08x)  OK
  RDSEED       Entropy source           0.006 ms ->    93.386 ms  (  0.00x)  OK
  VAES         Wide AES                 0.020 ms ->     0.011 ms  (  1.83x)  OK
  VPCLMULQDQ   Wide CLMUL               0.011 ms ->     0.010 ms  (  1.17x)  OK
  GFNI         Bit reverse              0.772 ms ->     0.041 ms  ( 18.79x)  OK
  AVX-VNNI     Int8 dot product         0.062 ms ->     0.007 ms  (  8.32x)  OK
  AVX512-VNNI  Int8 dot product         0.062 ms ->     0.004 ms  ( 16.02x)  OK
  AVX512-BF16  BF16 dot product         0.035 ms ->     0.003 ms  ( 11.86x)  OK
  AVX512-FP16  FP16 arithmetic      skipped
  VPOPCNTDQ    Vector popcount          0.062 ms ->     0.016 ms  (  3.90x)  OK
  BITALG       Byte popcount            1.125 ms ->     0.021 ms  ( 54.64x)  OK
  AVX-512F     Stream compaction        0.177 ms ->     0.025 ms  (  7.17x)  OK
  AVX-512CD    Conflict detection       0.323 ms ->     0.004 ms  ( 74.28x)  OK
  AVX512-IFMA  52-bit MAC               0.054 ms ->     0.011 ms  (  5.00x)  OK
  AVX512-VBMI  Byte permute             0.784 ms ->     0.021 ms  ( 37.00x)  OK
  AMX-INT8     Int8 tile GEMM       skipped
  AMX-BF16     BF16 tile GEMM       skipped

SELFTEST PASSED

SIMD Showcase v0.7.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 21:21

Added

  • Low-precision CUDA fractal tiers.
    • Real FP16 and BF16 Mandelbrot kernels with packed half2/bf16x2 PTX maths (two pixels per instruction).
    • Emulated FP8 (E4M3), FP6 (E3M2) and FP4 (E2M1) tiers: FP32 maths rounded through the GPU's own format converters after every operation, so you can watch the image fall apart.
    • Each format is its own PTX module, so a driver that rejects one keeps the rest. On an RTX 5090: FP16 sm_53, BF16 sm_90, FP8 sm_120, FP6 and FP4 sm_120a.
  • Low-Precision Lab (Q, or the PANELS tile; --lowp opens and runs it).
    • Tensor-core mma.sync matrix multiplies in TF32, FP16, BF16, FP8 E4M3/E5M2, FP6 E3M2/E2M3, FP4 E2M1 and the block-scaled MXFP4/NVFP4, through hand-written PTX and the driver JIT (no toolkit).
    • Reports TFLOPS per format and checks every result against a CPU reference.
    • Draws each format's sign/exponent/mantissa bit layout.
    • A fractal precision ladder shows how deep each CUDA precision can zoom, and warns when the current view is past a format's limit.
    • --tensorlab prints the table and writes tensorlab.txt.
  • Hover explanations on every control, after a short delay, saying what the control does and why it matters. A Tooltips toggle under PANELS turns them off, and the choice is remembered.
  • CPU card shows the SMT split. Each core is drawn as its hardware threads, lit by live per-thread load. The second thread is hatched when SMT is off, cores excluded by the selector dim, and E-cores are drawn smaller on hybrid CPUs.
  • GPU die view. An alternative GPU card draws the chip's compute units (SMs, CUs or Xe-cores) grouped into a die and lit by live GPU utilisation. A Fans | Die switch on the card picks the style; spinning fans stay the default and the choice is remembered. --gpudie starts in die view.
  • Parallel, cached shader compilation with a start-up splash.
    • The GPU backends compile on worker threads, and a mode becomes selectable as soon as its own backend is ready.
    • A Shaders panel lists each API's status and time.
    • Results are cached in %LOCALAPPDATA%\SimdShowcase\shadercache: D3D blobs, the Vulkan pipeline cache, GL program binaries, OpenCL and HIP binaries. CUDA uses the driver's own JIT cache.
    • Warm starts take about 0.46 s instead of about 4 s. --nocache bypasses the cache.

Fixed

  • Blank frames when switching modes. The previous image now stays up until the new mode delivers a complete frame. New display textures are cleared on creation, CPU textures are swapped only after the new one exists, and the backdrop blur never samples a missing image. --modeflip is a stress test that flips modes, scenes and window sizes and logs any bad frame to modeflip.txt.

Self-test on the build machine:

SIMD Showcase 0.7.0 (809dc6d) self-test
CPU: AMD EPYC 9V74 80-Core Processor (AuthenticAMD)
AVX10 version 0, 512-bit 0, OS AVX-512 state 1

Scalar       ILPx1     88.84 ms    0.000% pixels differ   OK
Scalar       ILPx2     49.71 ms    0.000% pixels differ   OK
Scalar       ILPx4     47.96 ms    0.000% pixels differ   OK
MMX          ILPx1     83.76 ms    3.159% pixels differ   OK
MMX          ILPx2     73.79 ms    3.159% pixels differ   OK
MMX          ILPx4     73.84 ms    3.159% pixels differ   OK
3DNow!       skipped (not supported)
SSE          ILPx1     23.13 ms    0.344% pixels differ   OK
SSE          ILPx2     13.36 ms    0.344% pixels differ   OK
SSE          ILPx4     18.62 ms    0.344% pixels differ   OK
SSE2         ILPx1     43.52 ms    0.001% pixels differ   OK
SSE2         ILPx2     25.98 ms    0.001% pixels differ   OK
SSE2         ILPx4     34.18 ms    0.001% pixels differ   OK
SSE3         ILPx1    101.96 ms    0.000% pixels differ   OK
SSE3         ILPx2     59.61 ms    0.000% pixels differ   OK
SSE3         ILPx4     64.05 ms    0.000% pixels differ   OK
SSE4.1       ILPx1     53.88 ms    0.001% pixels differ   OK
SSE4.1       ILPx2     30.15 ms    0.001% pixels differ   OK
SSE4.1       ILPx4     32.72 ms    0.001% pixels differ   OK
AVX          ILPx1     24.12 ms    0.001% pixels differ   OK
AVX          ILPx2     13.86 ms    0.001% pixels differ   OK
AVX          ILPx4     13.86 ms    0.001% pixels differ   OK
FMA4         skipped (not supported)
AVX2         ILPx1     21.83 ms    0.005% pixels differ   OK
AVX2         ILPx2     12.74 ms    0.005% pixels differ   OK
AVX2         ILPx4     15.49 ms    0.005% pixels differ   OK
AVX-512/256  ILPx1     25.67 ms    0.005% pixels differ   OK
AVX-512/256  ILPx2     13.29 ms    0.005% pixels differ   OK
AVX-512/256  ILPx4      8.29 ms    0.005% pixels differ   OK
AVX-512      ILPx1     12.91 ms    0.004% pixels differ   OK
AVX-512      ILPx2      9.26 ms    0.004% pixels differ   OK
AVX-512      ILPx4      7.39 ms    0.004% pixels differ   OK
AVX10.1      skipped (not supported)
AVX10.2      skipped (not supported)
3DNow! logic (SSE stand-in)           0.056% pixels differ vs FP32   OK

D3D9   FP32     88.393 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D9 FP64    skipped (no FP64)
D3D10  FP32     23.463 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D10 FP64    skipped (no FP64)
D3D12  FP32     62.358 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D12  FP64    137.929 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.142 ms ->     0.081 ms  (  1.75x)  OK
  LZCNT        Leading zeros            1.458 ms ->     0.083 ms  ( 17.55x)  OK
  BMI1         Bit iteration            5.554 ms ->     0.771 ms  (  7.21x)  OK
  BMI2         Morton codes             0.212 ms ->     0.235 ms  (  0.90x)  OK
  ADX + MULX   Bignum multiply          0.197 ms ->     0.167 ms  (  1.18x)  OK
  MOVBE        Big-endian load          0.202 ms ->     0.040 ms  (  5.07x)  OK
  SSE4.2       CRC-32C                  2.292 ms ->     0.108 ms  ( 21.24x)  OK
  SSE4a        Bit-field extract        0.019 ms ->     0.076 ms  (  0.25x)  OK
  XOP          Vector rotate        skipped
  PCLMULQDQ    Carry-less multiply      3.293 ms ->     0.016 ms  (201.38x)  OK
  AES-NI       AES-128                  1.519 ms ->     0.012 ms  (121.87x)  OK
  SHA          SHA-256                  0.948 ms ->     0.193 ms  (  4.90x)  OK
  F16C         Half floats              3.334 ms ->     0.060 ms  ( 55.86x)  OK
  RDRAND       Hardware RNG             0.054 ms ->     0.713 ms  (  0.08x)  OK
  RDSEED       Entropy source           0.007 ms ->     2.184 ms  (  0.00x)  OK
  VAES         Wide AES                 0.025 ms ->     0.014 ms  (  1.78x)  OK
  VPCLMULQDQ   Wide CLMUL               0.016 ms ->     0.014 ms  (  1.15x)  OK
  GFNI         Bit reverse              1.094 ms ->     0.065 ms  ( 16.84x)  OK
  AVX-VNNI     Int8 dot product     skipped
  AVX512-VNNI  Int8 dot product         0.126 ms ->     0.005 ms  ( 27.15x)  OK
  AVX512-BF16  BF16 dot product         0.054 ms ->     0.003 ms  ( 15.93x)  OK
  AVX512-FP16  FP16 arithmetic      skipped
  VPOPCNTDQ    Vector popcount          0.145 ms ->     0.022 ms  (  6.67x)  OK
  BITALG       Byte popcount            1.713 ms ->     0.027 ms  ( 63.29x)  OK
  AVX-512F     Stream compaction        0.347 ms ->     0.399 ms  (  0.87x)  OK
  AVX-512CD    Conflict detection       0.600 ms ->     0.014 ms  ( 43.27x)  OK
  AVX512-IFMA  52-bit MAC               0.073 ms ->     0.015 ms  (  4.70x)  OK
  AVX512-VBMI  Byte permute             1.096 ms ->     0.027 ms  ( 40.65x)  OK
  AMX-INT8     Int8 tile GEMM       skipped
  AMX-BF16     BF16 tile GEMM       skipped

SELFTEST PASSED

SIMD Showcase v0.6.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 16:20

Added

  • Rollercoaster visualizer scene.
    • You ride a neon track through a synthwave world, past climbs, drops and banked turns, under arches that flash on the beat.
    • Speed, shake and colour follow the music.
    • The rungs stream under the camera to sell the speed.
  • Audio input picker.
    • Captures system output by default, live.
    • The dropdown also lists every output device (to hear what that output plays) and every microphone or line-in.
    • The status reads Live, No signal or Device error.
  • Reactivity weights. Separate sliders for bass, mids, treble and beat set what the visuals respond to. Presets: Balanced, Beat, Bass, Mids and Highs.
  • Pause and resume. A big pause button in the bottom-right, or P, freezes everything: fractal jobs, auto-zoom, the benchmark and the visualizer.
  • FPS counter beside the pause button, colour-coded by frame rate.
  • Core selection.
    • Big (P) or small (E) cores only, on hybrid CPUs.
    • SMT / Hyper-Threading on or off.
    • Worker threads are confined to the chosen cores, and the thread slider limit follows the selection.

Changed

  • No synthetic motion: with no audio, the visualizer's audio inputs settle to zero instead of following a fake rhythm.
  • Panels stay on screen: they cap their height to the visible screen (the Feature Wall leaves room for the HUD) and scroll instead.

Fixed

  • Badge gallery layout: captions sit right under each badge, and the grid is tight, so the lower captions are no longer cut off.
  • Hardware card text shortens with an ellipsis instead of spilling past the card. The GPU's API list is compact.
  • Mode list shows whole rows rather than a half-cut row at the bottom.

Self-test on the build machine:

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

Scalar       ILPx1    103.73 ms    0.000% pixels differ   OK
Scalar       ILPx2     56.36 ms    0.000% pixels differ   OK
Scalar       ILPx4     66.23 ms    0.000% pixels differ   OK
MMX          ILPx1     93.43 ms    3.159% pixels differ   OK
MMX          ILPx2     85.82 ms    3.159% pixels differ   OK
MMX          ILPx4     85.93 ms    3.159% pixels differ   OK
3DNow!       skipped (not supported)
SSE          ILPx1     28.06 ms    0.344% pixels differ   OK
SSE          ILPx2     15.56 ms    0.344% pixels differ   OK
SSE          ILPx4     20.65 ms    0.344% pixels differ   OK
SSE2         ILPx1     52.51 ms    0.001% pixels differ   OK
SSE2         ILPx2     30.21 ms    0.001% pixels differ   OK
SSE2         ILPx4     38.96 ms    0.001% pixels differ   OK
SSE3         ILPx1    146.58 ms    0.000% pixels differ   OK
SSE3         ILPx2     82.23 ms    0.000% pixels differ   OK
SSE3         ILPx4     51.16 ms    0.000% pixels differ   OK
SSE4.1       ILPx1     58.74 ms    0.001% pixels differ   OK
SSE4.1       ILPx2     34.08 ms    0.001% pixels differ   OK
SSE4.1       ILPx4     37.36 ms    0.001% pixels differ   OK
AVX          ILPx1     27.68 ms    0.001% pixels differ   OK
AVX          ILPx2     15.89 ms    0.001% pixels differ   OK
AVX          ILPx4     15.81 ms    0.001% pixels differ   OK
FMA4         skipped (not supported)
AVX2         ILPx1     27.12 ms    0.005% pixels differ   OK
AVX2         ILPx2     14.80 ms    0.005% pixels differ   OK
AVX2         ILPx4     17.86 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.349 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D9 FP64    skipped (no FP64)
D3D10  FP32     27.790 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D10 FP64    skipped (no FP64)
D3D12  FP32     75.423 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D12  FP64    210.156 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.170 ms  (  2.27x)  OK
  LZCNT        Leading zeros            1.680 ms ->     0.083 ms  ( 20.21x)  OK
  BMI1         Bit iteration            6.179 ms ->     1.644 ms  (  3.76x)  OK
  BMI2         Morton codes             0.282 ms ->     0.266 ms  (  1.06x)  OK
  ADX + MULX   Bignum multiply          0.227 ms ->     0.188 ms  (  1.21x)  OK
  MOVBE        Big-endian load          0.229 ms ->     0.083 ms  (  2.76x)  OK
  SSE4.2       CRC-32C                  2.615 ms ->     0.124 ms  ( 21.07x)  OK
  SSE4a        Bit-field extract        0.022 ms ->     0.136 ms  (  0.16x)  OK
  XOP          Vector rotate        skipped
  PCLMULQDQ    Carry-less multiply      3.723 ms ->     0.019 ms  (201.07x)  OK
  AES-NI       AES-128                  1.896 ms ->     0.015 ms  (126.93x)  OK
  SHA          SHA-256                  1.087 ms ->     0.200 ms  (  5.43x)  OK
  F16C         Half floats              3.767 ms ->     0.072 ms  ( 52.40x)  OK
  RDRAND       Hardware RNG             0.061 ms ->     0.860 ms  (  0.07x)  OK
  RDSEED       Entropy source           0.008 ms ->     3.759 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

SIMD Showcase v0.5.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 15:08

Added

  • Six more GPU paths, all checked by --selftest against the CPU reference:
    • D3D9 and D3D10: graphics-pipeline modes. Neither API has compute shaders, so the fractal runs in a ps_3_0 / ps_4_0 pixel shader on a full-screen quad and is read back as counts.
    • OpenGL 4.3: GLSL compute shader, FP32 and FP64.
    • OpenCL: OpenCL C kernel built by the driver at runtime, FP32 and FP64.
    • Vulkan: compute with hand-assembled SPIR-V (no SDK and no shader compiler), FP32 and FP64. Vulkan grew out of AMD's Mantle.
    • HIP: AMD's CUDA-style API, compiled with hipRTC at runtime when the AMD HIP runtime is installed. It can't be tested on NVIDIA hardware.
  • Visualizer mode (V): audio-reactive scenes in the spirit of Winamp and Windows Media Player, all as heavy D3D11 compute:
    • Julia Dance: a supersampled Julia set whose constant rides the edge of the Mandelbrot cardioid.
    • Mandelbulb: raymarched, with ambient occlusion and glow, and a power that breathes with the bass.
    • Nebulabrot: a 4D-rotating Buddhabrot, with up to around a million orbit threads per frame splatted with atomics.
    • Fractal Flame: an iterated function system with four morphing transforms and eight non-linear variations, like the Electric Sheep screensaver.
    • Liquid Tunnel: MilkDrop-style feedback with a live spectrum ring.
    • Also: a Winamp-style spectrum bar overlay, scene title cards, auto-cycling, and a quality range up to "extreme" (36 samples per pixel).
  • Audio analyser: WASAPI loopback capture of whatever the PC is playing, run through an FFT to get bass, mid, treble, level, beat and 64 spectrum bands. It falls back to a synthetic rhythm when nothing is playing. Use --audiotest to check it.
  • Self-test filter: --selftest --backend=NAME tests a single GPU backend.

Changed

  • GPU capabilities are now a table indexed by API, rather than one flag per API.
  • Vulkan timing comes from a fence waiter thread. On the NVIDIA driver tested, timestamp queries around the dispatch read about 2 µs for a 0.6 ms kernel.

Self-test on the build machine:

SIMD Showcase 0.5.0 (447b1a2) self-test
CPU: AMD EPYC 9V74 80-Core Processor (AuthenticAMD)
AVX10 version 0, 512-bit 0, OS AVX-512 state 1

Scalar       ILPx1     89.67 ms    0.000% pixels differ   OK
Scalar       ILPx2     51.46 ms    0.000% pixels differ   OK
Scalar       ILPx4     63.58 ms    0.000% pixels differ   OK
MMX          ILPx1     73.46 ms    3.159% pixels differ   OK
MMX          ILPx2     73.48 ms    3.159% pixels differ   OK
MMX          ILPx4     73.67 ms    3.159% pixels differ   OK
3DNow!       skipped (not supported)
SSE          ILPx1     23.07 ms    0.344% pixels differ   OK
SSE          ILPx2     13.34 ms    0.344% pixels differ   OK
SSE          ILPx4     18.16 ms    0.344% pixels differ   OK
SSE2         ILPx1     43.42 ms    0.001% pixels differ   OK
SSE2         ILPx2     26.40 ms    0.001% pixels differ   OK
SSE2         ILPx4     34.20 ms    0.001% pixels differ   OK
SSE3         ILPx1    102.14 ms    0.000% pixels differ   OK
SSE3         ILPx2     77.39 ms    0.000% pixels differ   OK
SSE3         ILPx4     43.12 ms    0.000% pixels differ   OK
SSE4.1       ILPx1     51.83 ms    0.001% pixels differ   OK
SSE4.1       ILPx2     29.95 ms    0.001% pixels differ   OK
SSE4.1       ILPx4     32.68 ms    0.001% pixels differ   OK
AVX          ILPx1     24.23 ms    0.001% pixels differ   OK
AVX          ILPx2     14.02 ms    0.001% pixels differ   OK
AVX          ILPx4     13.86 ms    0.001% pixels differ   OK
FMA4         skipped (not supported)
AVX2         ILPx1     21.78 ms    0.005% pixels differ   OK
AVX2         ILPx2     12.66 ms    0.005% pixels differ   OK
AVX2         ILPx4     15.54 ms    0.005% pixels differ   OK
AVX-512/256  ILPx1     25.64 ms    0.005% pixels differ   OK
AVX-512/256  ILPx2     13.36 ms    0.005% pixels differ   OK
AVX-512/256  ILPx4      8.29 ms    0.005% pixels differ   OK
AVX-512      ILPx1     12.86 ms    0.004% pixels differ   OK
AVX-512      ILPx2      9.26 ms    0.004% pixels differ   OK
AVX-512      ILPx4      7.30 ms    0.004% pixels differ   OK
AVX10.1      skipped (not supported)
AVX10.2      skipped (not supported)
3DNow! logic (SSE stand-in)           0.056% pixels differ vs FP32   OK

D3D9   FP32     64.533 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D9 FP64    skipped (no FP64)
D3D10  FP32     23.414 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D10 FP64    skipped (no FP64)
D3D12  FP32     62.198 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D12  FP64    160.070 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.142 ms ->     0.076 ms  (  1.86x)  OK
  LZCNT        Leading zeros            1.386 ms ->     0.077 ms  ( 17.90x)  OK
  BMI1         Bit iteration            5.558 ms ->     0.772 ms  (  7.20x)  OK
  BMI2         Morton codes             0.210 ms ->     0.234 ms  (  0.90x)  OK
  ADX + MULX   Bignum multiply          0.198 ms ->     0.156 ms  (  1.27x)  OK
  MOVBE        Big-endian load          0.200 ms ->     0.039 ms  (  5.13x)  OK
  SSE4.2       CRC-32C                  2.293 ms ->     0.108 ms  ( 21.29x)  OK
  SSE4a        Bit-field extract        0.019 ms ->     0.076 ms  (  0.24x)  OK
  XOP          Vector rotate        skipped
  PCLMULQDQ    Carry-less multiply      3.262 ms ->     0.016 ms  (199.52x)  OK
  AES-NI       AES-128                  1.523 ms ->     0.012 ms  (122.33x)  OK
  SHA          SHA-256                  0.939 ms ->     0.192 ms  (  4.89x)  OK
  F16C         Half floats              3.237 ms ->     0.058 ms  ( 55.50x)  OK
  RDRAND       Hardware RNG             0.054 ms ->     0.718 ms  (  0.08x)  OK
  RDSEED       Entropy source           0.007 ms ->     2.191 ms  (  0.00x)  OK
  VAES         Wide AES                 0.026 ms ->     0.014 ms  (  1.78x)  OK
  VPCLMULQDQ   Wide CLMUL               0.016 ms ->     0.014 ms  (  1.15x)  OK
  GFNI         Bit reverse              1.103 ms ->     0.064 ms  ( 17.13x)  OK
  AVX-VNNI     Int8 dot product     skipped
  AVX512-VNNI  Int8 dot product         0.128 ms ->     0.005 ms  ( 27.41x)  OK
  AVX512-BF16  BF16 dot product         0.054 ms ->     0.003 ms  ( 15.79x)  OK
  AVX512-FP16  FP16 arithmetic      skipped
  VPOPCNTDQ    Vector popcount          0.077 ms ->     0.022 ms  (  3.53x)  OK
  BITALG       Byte popcount            1.693 ms ->     0.029 ms  ( 58.57x)  OK
  AVX-512F     Stream compaction        0.296 ms ->     0.396 ms  (  0.75x)  OK
  AVX-512CD    Conflict detection       0.515 ms ->     0.006 ms  ( 88.68x)  OK
  AVX512-IFMA  52-bit MAC               0.072 ms ->     0.016 ms  (  4.56x)  OK
  AVX512-VBMI  Byte permute             1.101 ms ->     0.027 ms  ( 41.24x)  OK
  AMX-INT8     Int8 tile GEMM       skipped
  AMX-BF16     BF16 tile GEMM       skipped

SELFTEST PASSED

SIMD Showcase v0.4.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 01:35

Added

  • 3DNow! kernel. It is hand-written MASM using PFMUL/PFADD/PFSUB/PFCMPGT, with two FP32 pixels per MMX register, and runs on K6-2 through Phenom II. No modern CPU or emulator can execute 3DNow!, so --selftest instead checks the same instruction sequence translated one-for-one into SSE.
  • AMX in the Extensions Lab.
    • INT8 tile GEMM (TDPBSSD) and BF16 tile GEMM (TDPBF16PS) tests, using tile configuration, TILELOADD/TILESTORED and VNNI-packed B matrices.
    • They need Sapphire Rapids or newer, and haven't been run on hardware yet.
  • Glass UI.
    • Panels are frosted glass. A GPU compute blur of the fractal sits behind each one, plus vibrancy, a specular rim, soft shadows and large rounded corners.
    • New controls: iOS-style toggle switches, sliding segmented controls, thin sliders, Control Center-style panel tiles, big-number stat cards and a gradient area chart.
    • The mode list shows app-icon chips.
    • Uses Segoe UI Variable.
  • Badge effects.
    • Badges get a perspective 3D tilt (it follows the mouse in the gallery), extruded and bevelled lettering, a holographic foil sheen, sparkles, a light that runs round the rim, an accent glow and a mirror-floor reflection.
    • Engaging a mode plays a 3D flip-in with god-rays, a particle burst, shockwave rings, a letter-by-letter caption and motion trails as the badge flies to its dock.
  • Hardware cards for the detected CPU and GPU, with the same effects:
    • The CPU card is an original "delidded chip" drawing that shows the real L3/core topology. Each core lights with its thread's share of the work.
    • The GPU card shows spinning fans, PCIe fingers, an RGB strip and a compute grid that lights when a GPU mode runs. It also shows VRAM and the available APIs.
    • The cards appear in the controls panel and in a "Your hardware" section of the gallery.

Changed

  • All panels were rebuilt on the new Glass widgets (src/glass_ui.*, src/app_ui.cpp). The window layout file is now simd_showcase_v2.ini.

Self-test on the build machine:

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

Scalar       ILPx1    103.79 ms    0.000% pixels differ   OK
Scalar       ILPx2     61.03 ms    0.000% pixels differ   OK
Scalar       ILPx4     56.08 ms    0.000% pixels differ   OK
MMX          ILPx1     86.40 ms    3.159% pixels differ   OK
MMX          ILPx2     97.82 ms    3.159% pixels differ   OK
MMX          ILPx4     89.94 ms    3.159% pixels differ   OK
3DNow!       skipped (not supported)
SSE          ILPx1     28.02 ms    0.344% pixels differ   OK
SSE          ILPx2     16.00 ms    0.344% pixels differ   OK
SSE          ILPx4     20.75 ms    0.344% pixels differ   OK
SSE2         ILPx1     53.03 ms    0.001% pixels differ   OK
SSE2         ILPx2     30.08 ms    0.001% pixels differ   OK
SSE2         ILPx4     38.73 ms    0.001% pixels differ   OK
SSE3         ILPx1    143.19 ms    0.000% pixels differ   OK
SSE3         ILPx2     85.47 ms    0.000% pixels differ   OK
SSE3         ILPx4     74.79 ms    0.000% pixels differ   OK
SSE4.1       ILPx1     58.67 ms    0.001% pixels differ   OK
SSE4.1       ILPx2     34.15 ms    0.001% pixels differ   OK
SSE4.1       ILPx4     37.28 ms    0.001% pixels differ   OK
AVX          ILPx1     27.80 ms    0.001% pixels differ   OK
AVX          ILPx2     15.88 ms    0.001% pixels differ   OK
AVX          ILPx4     15.81 ms    0.001% pixels differ   OK
FMA4         skipped (not supported)
AVX2         ILPx1     26.90 ms    0.005% pixels differ   OK
AVX2         ILPx2     14.78 ms    0.005% pixels differ   OK
AVX2         ILPx4     17.79 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

D3D12 FP32     76.041 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D12 FP64    170.553 ms    0.000% pixels differ   OK   [Microsoft Basic Render Driver]
CUDA         skipped (No NVIDIA driver (nvcuda.dll not found))

Extensions Lab
  POPCNT       Popcount                 0.385 ms ->     0.083 ms  (  4.61x)  OK
  LZCNT        Leading zeros            1.634 ms ->     0.084 ms  ( 19.44x)  OK
  BMI1         Bit iteration            6.252 ms ->     1.640 ms  (  3.81x)  OK
  BMI2         Morton codes             0.281 ms ->     0.266 ms  (  1.05x)  OK
  ADX + MULX   Bignum multiply          0.228 ms ->     0.187 ms  (  1.22x)  OK
  MOVBE        Big-endian load          0.233 ms ->     0.043 ms  (  5.43x)  OK
  SSE4.2       CRC-32C                  2.615 ms ->     0.123 ms  ( 21.25x)  OK
  SSE4a        Bit-field extract        0.022 ms ->     0.087 ms  (  0.26x)  OK
  XOP          Vector rotate        skipped
  PCLMULQDQ    Carry-less multiply      3.720 ms ->     0.029 ms  (126.18x)  OK
  AES-NI       AES-128                  1.918 ms ->     0.015 ms  (128.71x)  OK
  SHA          SHA-256                  1.096 ms ->     0.200 ms  (  5.49x)  OK
  F16C         Half floats              3.766 ms ->     0.073 ms  ( 51.71x)  OK
  RDRAND       Hardware RNG             0.061 ms ->     0.861 ms  (  0.07x)  OK
  RDSEED       Entropy source           0.008 ms ->     3.675 ms  (  0.00x)  OK
  VAES         Wide AES                 0.030 ms ->     0.017 ms  (  1.77x)  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

SIMD Showcase v0.3.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 01:01

Added

  • D3D12 compute mode (FP32/FP64). It has its own device on the high-performance adapter, root constants, a root UAV, fences, timestamp queries and a readback heap.
  • CUDA mode (FP32/FP64). It uses a hand-written PTX kernel that is loaded through nvcuda.dll and JIT-compiled by the NVIDIA driver, so no CUDA toolkit is needed.
  • New Mandelbrot tiers:
    • SSE3: ADDSUBPD/HADDPD complex arithmetic.
    • SSE4.1: BLENDVPD lane freezing and a PTEST exit check.
    • FMA4: AMD Bulldozer's four-operand FMA.
    • AVX-512/256: AVX-512VL opmasks on YMM registers.
  • Extensions Lab (L). It holds 28 verified micro-benchmarks, each timed against a plain C++ version of the same task:
    • Bit manipulation: POPCNT, LZCNT, BMI1, BMI2, ADX+MULX, MOVBE.
    • Checksums and crypto: SSE4.2 CRC-32C, PCLMULQDQ, AES-NI (checked against FIPS-197), SHA-256 (checked against the "abc" test vector), VAES, VPCLMULQDQ, GFNI.
    • AMD-only: SSE4a, XOP.
    • Number formats and random numbers: F16C, RDRAND, RDSEED.
    • Vector maths: AVX-VNNI, AVX512-VNNI, BF16, FP16, VPOPCNTDQ, BITALG, compress-store, conflict detection, IFMA52, VBMI.
  • Self-test additions. --selftest now checks D3D12 and CUDA output against the CPU reference and runs every supported lab test.
  • New badges for every new mode, with per-API styles for D3D11, D3D12 and CUDA.
  • Version information:
    • The version is set once in CMake and shown in the window title, the UI, the self-test output, the exe's file properties and benchmark CSV exports.
    • This changelog was added.
    • Tagged releases are published automatically.
  • Feature wall: new "Bits & misc" group (LZCNT, ADX, MOVBE, RDRAND, RDSEED) and an AMD TBM chip.

Fixed

  • FP64 GPU shaders produced wrong images (about 55% of pixels), because FXC's optimiser miscompiles the double-precision loop. The FP64 entry points are now compiled unoptimised, in both D3D11 and D3D12.

Changed

  • The GPU tiers are now named by API (D3D11 FP32 and so on) instead of GPU FP32/GPU FP64.
  • The mode table scrolls, so the larger list fits at high DPI.

Self-test on the build machine:

SIMD Showcase 0.3.0 (f9596ab) self-test
CPU: AMD EPYC 9V74 80-Core Processor (AuthenticAMD)
AVX10 version 0, 512-bit 0, OS AVX-512 state 1

Scalar       ILPx1     88.95 ms    0.000% pixels differ   OK
Scalar       ILPx2     49.45 ms    0.000% pixels differ   OK
Scalar       ILPx4     47.82 ms    0.000% pixels differ   OK
MMX          ILPx1     83.65 ms    3.159% pixels differ   OK
MMX          ILPx2     73.90 ms    3.159% pixels differ   OK
MMX          ILPx4     73.64 ms    3.159% pixels differ   OK
SSE          ILPx1     23.24 ms    0.344% pixels differ   OK
SSE          ILPx2     13.33 ms    0.344% pixels differ   OK
SSE          ILPx4     18.24 ms    0.344% pixels differ   OK
SSE2         ILPx1     43.68 ms    0.001% pixels differ   OK
SSE2         ILPx2     26.04 ms    0.001% pixels differ   OK
SSE2         ILPx4     34.11 ms    0.001% pixels differ   OK
SSE3         ILPx1    102.38 ms    0.000% pixels differ   OK
SSE3         ILPx2     59.66 ms    0.000% pixels differ   OK
SSE3         ILPx4     57.24 ms    0.000% pixels differ   OK
SSE4.1       ILPx1     54.57 ms    0.001% pixels differ   OK
SSE4.1       ILPx2     30.23 ms    0.001% pixels differ   OK
SSE4.1       ILPx4     32.77 ms    0.001% pixels differ   OK
AVX          ILPx1     24.09 ms    0.001% pixels differ   OK
AVX          ILPx2     13.87 ms    0.001% pixels differ   OK
AVX          ILPx4     13.75 ms    0.001% pixels differ   OK
FMA4         skipped (not supported)
AVX2         ILPx1     21.95 ms    0.005% pixels differ   OK
AVX2         ILPx2     12.71 ms    0.005% pixels differ   OK
AVX2         ILPx4     15.44 ms    0.005% pixels differ   OK
AVX-512/256  ILPx1     25.54 ms    0.005% pixels differ   OK
AVX-512/256  ILPx2     13.33 ms    0.005% pixels differ   OK
AVX-512/256  ILPx4      8.26 ms    0.005% pixels differ   OK
AVX-512      ILPx1     12.95 ms    0.004% pixels differ   OK
AVX-512      ILPx2      9.29 ms    0.004% pixels differ   OK
AVX-512      ILPx4      7.30 ms    0.004% pixels differ   OK
AVX10.1      skipped (not supported)
AVX10.2      skipped (not supported)

D3D12 FP32     67.414 ms    0.265% pixels differ   OK   [Microsoft Basic Render Driver]
D3D12 FP64    136.998 ms    0.000% pixels differ   OK   [Microsoft Basic Render Driver]
CUDA         skipped (No NVIDIA driver (nvcuda.dll not found))

Extensions Lab
  POPCNT       Popcount                 0.143 ms ->     0.081 ms  (  1.78x)  OK
  LZCNT        Leading zeros            1.392 ms ->     0.081 ms  ( 17.12x)  OK
  BMI1         Bit iteration            5.545 ms ->     0.767 ms  (  7.23x)  OK
  BMI2         Morton codes             0.210 ms ->     0.235 ms  (  0.89x)  OK
  ADX + MULX   Bignum multiply          0.197 ms ->     0.156 ms  (  1.26x)  OK
  MOVBE        Big-endian load          0.200 ms ->     0.040 ms  (  5.06x)  OK
  SSE4.2       CRC-32C                  2.291 ms ->     0.108 ms  ( 21.31x)  OK
  SSE4a        Bit-field extract        0.019 ms ->     0.076 ms  (  0.25x)  OK
  XOP          Vector rotate        skipped
  PCLMULQDQ    Carry-less multiply      3.256 ms ->     0.016 ms  (199.61x)  OK
  AES-NI       AES-128                  1.522 ms ->     0.012 ms  (122.89x)  OK
  SHA          SHA-256                  0.939 ms ->     0.192 ms  (  4.88x)  OK
  F16C         Half floats              3.382 ms ->     0.058 ms  ( 57.97x)  OK
  RDRAND       Hardware RNG             0.054 ms ->     0.718 ms  (  0.08x)  OK
  RDSEED       Entropy source           0.007 ms ->     2.195 ms  (  0.00x)  OK
  VAES         Wide AES                 0.025 ms ->     0.015 ms  (  1.68x)  OK
  VPCLMULQDQ   Wide CLMUL               0.016 ms ->     0.014 ms  (  1.15x)  OK
  GFNI         Bit reverse              1.159 ms ->     0.064 ms  ( 18.21x)  OK
  AVX-VNNI     Int8 dot product     skipped
  AVX512-VNNI  Int8 dot product         0.126 ms ->     0.005 ms  ( 27.23x)  OK
  AVX512-BF16  BF16 dot product         0.054 ms ->     0.003 ms  ( 15.83x)  OK
  AVX512-FP16  FP16 arithmetic      skipped
  VPOPCNTDQ    Vector popcount          0.145 ms ->     0.022 ms  (  6.66x)  OK
  BITALG       Byte popcount            1.720 ms ->     0.027 ms  ( 63.94x)  OK
  AVX-512F     Stream compaction        0.297 ms ->     0.401 ms  (  0.74x)  OK
  AVX-512CD    Conflict detection       0.518 ms ->     0.006 ms  ( 88.45x)  OK
  AVX512-IFMA  52-bit MAC               0.072 ms ->     0.016 ms  (  4.57x)  OK
  AVX512-VBMI  Byte permute             1.099 ms ->     0.027 ms  ( 41.12x)  OK

SELFTEST PASSED