# NVFP4 linear layer (Quant 020) An NVFP4 linear layer (8192 x 8192): quantizes the bf16 input to NVFP4 with block scales, then multiplies it by the NVFP4 weight into a bf16 output. - Language: CUDA C++. Entry point: `main.cpp::run`. Files: 13 (9,536 lines). - Idea: Quant kernel (grid barrier for the global amax) packs x to NVFP4 + scales, then a CUTLASS block-scaled tcgen05 GEMM; small M uses a custom weight-stationary GEMM. - Result: SOL score 0.920; speedup 9.33x over the benchmark's baseline (geometric mean). Public SOL-ExecBench results as of 2026-11-11. - Origin: search agent (Claude). - Comments edited; unused test helpers removed; the code that runs is identical to the scored submission. - Re-checked on a B200 after the edit: it builds and passes every workload of the SOL-ExecBench correctness check. - Generated by Claude via Amazon Bedrock. Verified on the SOL-ExecBench site; not production-ready.