From 162a45d4ea3e1193467c989d915a3f06ece51054 Mon Sep 17 00:00:00 2001 From: muh-bot Date: Wed, 5 Aug 2026 03:34:08 +0000 Subject: [PATCH] [muh_kernel_map] fix syntax error + add bytes_in_flight from CCCL babelstream benchmark MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two missing commas in BI_V100 dict caused Python SyntaxError. Added bytes_in_flight=64KB from bench_bi100.py real-hardware data: bif=8 (64KB) beat bif=0 (32KB) at all problem sizes Top 30 transform/float16 results ALL have bif=8 Physical: BW/SM × HBM_latency = 56 GB/s × 1100ns ≈ 62KB CCCL cc_to_min_bytes_in_flight: B200=64KB (54 GB/s/SM) BI-V100 matches B200 tier, not A100 (16KB) or V100 (12KB) Source: cccl_upstream/cub/benchmarks/bench/transform/babelstream.cu and cccl_upstream/cub/cub/device/dispatch/tuning/tuning_transform.cuh cc_to_min_bytes_in_flight() function. --- muh_kernel_map.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/muh_kernel_map.py b/muh_kernel_map.py index 5f9c01cc..dde0f152 100644 --- a/muh_kernel_map.py +++ b/muh_kernel_map.py @@ -49,9 +49,13 @@ BI_V100 = { "max_registers_per_thread": 255, "l2_cache_size_bytes": 6 * 1024 * 1024, # 6 MiB "memory_bandwidth_gbps": 900, - "sm_count": 16 # CONFIRMED 2026-08-01, + "sm_count": 16, # CONFIRMED 2026-08-01 # Derived - "bandwidth_per_sm_gbps": 900 / 16 # 56.25 GB/s per SM, # 18 GB/s ≈ A100 level + "bandwidth_per_sm_gbps": 900 / 16, # 56.25 GB/s per SM ≈ B200 level + # bytes_in_flight: BW/SM × HBM_latency = 56 GB/s × 1100ns ≈ 62KB → 64KB + # Confirmed by bench_bi100.py transform/float16: bif=8 (64KB) wins at all sizes + # CCCL ref: B200=64KB, H100=48KB, A100=16KB, V100=12KB + "bytes_in_flight": 64 * 1024, } SM100 = {