engine-cuda: loop kernel diagonal from launch parameters (+1.3% loop kernel), multiply-add screening variants #31
Reference in New Issue
Block a user
Delete Branch "perf/int-round-chain"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Round 2 of quantus/miner#27, behind the loop-kernel switch. The deployed unrolled kernel is byte-identical throughout (sm_120 21,120 instructions, 110 registers).
LAIR_LOOP_PARAM_DIAG(default 1): the twelve diagonal constants ride inMiningUniforms(now 416 bytes) and the loop kernel reads them from the parameter bank. ptxas still issues 13 constant loads per internal round, but the loop kernel's spill falls from 88 to 32 bytes and it shows on the card: beast loop 2135 -> 2162 MH/s (+1.3%), benjy 725 -> 730 (+0.7%), three interleaved rounds, parity 300/300 and 200/200. benjy picks it up through its existingcuda_kernel: loopmatrix row; beast and quadbrat keep the unrolled kernel and change nothing.LAIR_MULADD0..4: five multiply-add formulations kept for screening, 0 the shipped one. Static internal-round body on sm_120: 239 / 260 / 283 / 275 / 265, so nothing changes by default.🤖 Generated with Claude Code
https://claude.ai/code/session_01Ue5ZZm1Hiv5zPnucykKKuF
quantus-bench
1fea51cfc3on benjy.hanzalova.internaltotal median: 713.90 MH/s (batch 1000000, 5 x 30s, engine gpu-cuda)
--- resume miner ---
active