{ "board": "L2", "id": "002_decoder_layer_full_block", "name": "Decoder layer full block", "language": "CUDA C++", "files": [ { "path": "src/cutlass_gemm.cu", "lines": 71, "bytes": 4226 }, { "path": "src/cutlass_gemm.h", "lines": 5, "bytes": 438 }, { "path": "src/gu_tmem.cu", "lines": 1282, "bytes": 73790 }, { "path": "src/gu_tmem.h", "lines": 56, "bytes": 5012 }, { "path": "src/kernel.cu", "lines": 1263, "bytes": 67447 }, { "path": "src/kernel.h", "lines": 46, "bytes": 4720 }, { "path": "src/kernel2.cu", "lines": 395, "bytes": 19158 }, { "path": "src/kernel2.h", "lines": 30, "bytes": 2463 }, { "path": "src/kernel3.cu", "lines": 1010, "bytes": 56774 }, { "path": "src/kernel3.h", "lines": 26, "bytes": 2274 }, { "path": "src/main.cpp", "lines": 1252, "bytes": 90817 }, { "path": "src/probe_sm.h", "lines": 18, "bytes": 1052 }, { "path": "src/tc_gemm.cu", "lines": 1458, "bytes": 88734 }, { "path": "src/tc_gemm.h", "lines": 48, "bytes": 4881 }, { "path": "src/tmap_cache.h", "lines": 28, "bytes": 1974 }, { "path": "src/ws_gemm.cu", "lines": 1839, "bytes": 116592 }, { "path": "src/ws_gemm.h", "lines": 72, "bytes": 6547 } ], "origin": "search agent (Claude)", "result": { "public": true, "sol_score": 0.596572, "speedup": 1.2621, "board_row": true, "note": "the row the public SOL-ExecBench board shows for this problem, as of 2026-11-11" }, "idea": "By token count: few tokens use weight-streaming tcgen05 GEMMs that convert fp32 weights to fp16 in smem, PDL-chained; many tokens use fp16 GEMMs and a tcgen05 flash attention.", "spec": { "languages": [ "cuda_cpp" ], "target_hardware": [ "B200", "LOCAL" ], "entry_point": "main.cpp::run", "binding": "torch", "destination_passing_style": false, "dependencies": [], "compile_options": { "cuda_cflags": [ "-std=c++17", "-O3", "-gencode=arch=compute_100a,code=sm_100a", "--expt-relaxed-constexpr", "-U__CUDA_NO_HALF_OPERATORS__", "-U__CUDA_NO_HALF_CONVERSIONS__", "-U__CUDA_NO_HALF2_OPERATORS__" ], "ld_flags": [ "-lcuda", "-lcublasLt" ] }, "sources": [ "kernel.h", "kernel.cu", "kernel2.h", "kernel2.cu", "ws_gemm.h", "ws_gemm.cu", "main.cpp", "kernel3.h", "kernel3.cu", "tc_gemm.h", "tc_gemm.cu", "gu_tmem.h", "gu_tmem.cu", "cutlass_gemm.h", "cutlass_gemm.cu", "probe_sm.h", "tmap_cache.h" ] } }