File size: 1,383 Bytes
60a6fc3 | 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 | {
"board": "L2",
"id": "024_moe_expert_parallel_execution",
"name": "MoE expert parallel execution",
"language": "CUDA C++",
"files": [
{
"path": "src/kernel.cu",
"lines": 5279,
"bytes": 299501
},
{
"path": "src/kernel.h",
"lines": 7,
"bytes": 517
},
{
"path": "src/main.cpp",
"lines": 51,
"bytes": 2202
}
],
"origin": "search agent (Claude)",
"result": {
"public": true,
"sol_score": 0.990009,
"speedup": 12.9455,
"board_row": true,
"note": "the row the public SOL-ExecBench board shows for this problem, as of 2026-11-11"
},
"idea": "Group tokens by expert, then tcgen05 GEMMs: gate/up + SwiGLU, then down proj with weighted red.add; one fused persistent kernel for few tokens, 2-CTA GEMMs for many.",
"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",
"-DROT_MODE=0",
"-DROT2=0",
"-DGLAG=2",
"-DROT1C=5",
"-DSUSH=2000",
"-DRSNS=0",
"-DHSW0=2",
"-DHSWN=128",
"-DF2G2SW=1",
"-DF2HSW2=7"
],
"ld_flags": [
"-lcuda"
]
},
"sources": [
"kernel.h",
"kernel.cu",
"main.cpp"
]
}
}
|