{ "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" ] } }