Repository navigation
SIMD Showcase v0.7.0
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;--lowpopens and runs it).- Tensor-core
mma.syncmatrix 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.
--tensorlabprints the table and writestensorlab.txt.
- Tensor-core
- 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.
--gpudiestarts 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.
--nocachebypasses 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.
--modeflipis a stress test that flips modes, scenes and window sizes and logs any bad frame tomodeflip.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