File size: 2,630 Bytes
9af3baf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | {
"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"
]
}
}
|