CUDApp
CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.
Brought by drakestapleton
CUDApp / evidence / AMD-GFX942-SGEMM-20261112T220232Z / fma-width.txt
| 1 | External Python integer calculation, not production code: |
| 2 | lo = 1 - 150 |
| 3 | scale = 2 * lo |
| 4 | product_shift = 254 + 254 - 300 - scale |
| 5 | product = ((1 << 24) - 1) ** 2 << product_shift |
| 6 | addend = ((1 << 24) - 1) << (254 - 150 - scale) |
| 7 | bits = (product + addend).bit_length() |
| 8 | print("exact quantum exponent (base 2):", scale) |
| 9 | print("maximum exact finite sum magnitude bits:", bits) |
| 10 | print("required 64-bit limbs:", (bits + 63) // 64) |
| 11 | print("subnormal rounding shift (bits):", -149 - scale) |
| 12 | print("minimum-normal scaled bit index:", -126 - scale) |
| 13 | |
| 14 | Observed result: |
| 15 | exact quantum exponent (base 2): -298 |
| 16 | maximum exact finite sum magnitude bits: 554 |
| 17 | required 64-bit limbs: 9 |
| 18 | subnormal rounding shift (bits): 149 |
| 19 | minimum-normal scaled bit index: 172 |