File size: 1,942 Bytes
bdebe19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
 "board": "L1",
 "id": "044_moe_expert_computation",
 "name": "MoE expert computation",
 "language": "CUDA C++",
 "files": [
  {
   "path": "src/cutlass_path.cu",
   "lines": 576,
   "bytes": 30547
  },
  {
   "path": "src/cutlass_path.h",
   "lines": 63,
   "bytes": 3813
  },
  {
   "path": "src/cutlass_stg_a.cu",
   "lines": 17,
   "bytes": 904
  },
  {
   "path": "src/cutlass_stg_b.cu",
   "lines": 21,
   "bytes": 902
  },
  {
   "path": "src/cutpath_core.h",
   "lines": 711,
   "bytes": 41109
  },
  {
   "path": "src/kernel.cu",
   "lines": 3401,
   "bytes": 201698
  },
  {
   "path": "src/kernel.h",
   "lines": 95,
   "bytes": 6324
  },
  {
   "path": "src/main.cpp",
   "lines": 568,
   "bytes": 30889
  }
 ],
 "origin": "search agent (Claude)",
 "result": {
  "public": true,
  "sol_score": 0.948983,
  "speedup": 2.4137,
  "board_row": true,
  "note": "the row the public SOL-ExecBench board shows for this problem, as of 2026-11-11"
 },
 "idea": "One persistent 2-SM tcgen05 megakernel: in-kernel routing and token gather, gate/up with SwiGLU, down with weighted red.add; large batches run the down step as CUTLASS grouped GEMMs.",
 "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",
    "-DNDEBUG",
    "--use_fast_math",
    "-Xptxas",
    "-O3",
    "--extra-device-vectorization",
    "-DMOE_DIL_S=1",
    "-DCUTLASS_ENABLE_GDC_FOR_SM100=1"
   ],
   "ld_flags": [
    "-lcuda"
   ],
   "cflags": [
    "-DMOE_DIL_S=1"
   ]
  },
  "sources": [
   "cutlass_path.cu",
   "cutlass_path.h",
   "cutpath_core.h",
   "kernel.cu",
   "kernel.h",
   "main.cpp",
   "cutlass_stg_a.cu",
   "cutlass_stg_b.cu"
  ]
 }
}