CUDABench: Benchmarking LLMs for Text-to-CUDA Generation
Update NeurIPS 2026 submission z77rvLkVc6: 5 notes
@openreview[bot] · 2026-11-24 16:03 UTC · e38a4b6a31e6 ·
reviews/openreview/z77rvlkvc6/notes/hq9lfnt4da.json added
+++ b/reviews/openreview/z77rvlkvc6/notes/hq9lfnt4da.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "HQ9LfNt4Da",+ "replyTo": "ca3jI7mv5M",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer DXjL",+ "content": {+ "comment": "Thank you for a substantive rebuttal. You ran the experiments I asked for, and\nthe results are informative. Note that the PCs required me to change the Contribution Type on my review to\nUse-Inspired, and I had to re-assess accordingly.\n\n---\n\n> ComputeEval is already cited in Table 1 and Sec. 2 as an important text-to-CUDA\n> benchmark. (...)\n\nYou are right. I apologize for my oversight. Frankly, I am not sure how I had possibly missed that. \n\n---\n\n> Appendix A.3, Table 6 reports one representative cross-generation GPU case\n> spanning Ampere, Ada Lovelace, and Blackwell.\n\nI had not read the appendix. It answers my concerns.\n\n---\n\n> The model rankings under fixed-reference metric remain highly consistent with\n> those under CUDABench-Score: Spearman's rho ranges from 0.857 to 1.000. Three\n> settings preserve the exact ranking, while the remaining differences are mainly\n> local rank swaps with relatively small performance differences.\n\nThis answers my Q1, and it is the result I most wanted to see. Could the table go\ninto the main text? It directly addresses the metric-validity.\n\n---\n\n> Only kernels that pass both stages are profiled. [...] so any compilation or\n> functional failure receives a final CUDABench-Score of zero.\n\nThat resolves the gating question, and the definitions resolve the counting question. Please move both into the main text:\nthey define the headline metric and should not require reading the supplement or a rebuttal. \n\n> The full tolerance policy is given in Appendix A.5\n\nAt minimum the tolerance table belongs in the main experimental setup, because\nthe values are loose enough to matter for the headline correctness rates:\n\n> Kernels with large or order-dependent accumulation use 10^−2 , including matrix\n> products, convolutions, attention, optimizers, graph convolution, prefix sums,\n> dot products, and scientific simulations. Repeated matrix powers use 10−1\n> because repeated float32 matrix products can amplify absolute roundoff error\n> more than single-pass dense linear algebra.\n\nReaders should see that when interpreting the functional-correctness numbers.\n\n\n> CUDABench evaluates text-based, from-scratch CUDA generation across general\n> GPU-computing domains, whereas SOL-ExecBench evaluates code-based optimization\n> of production deep-learning kernels or subgraphs.\n\nAll clear. One comment on the stated reason:\n\n> Due to the double-blind review policy, we did not include this citation in the\n> submitted manuscript.\n\nConcurrent work, and one's own prior work, should be cited in the third person. Please add the citation and the contrast in the revision.\n\n---\n\n> We agree that CUDABench-Score can be affected by memory-wasteful kernels.\n...\n> Following the Nsight Compute definition, arithmetic intensity is measured work\n> divided by measured off-chip memory traffic\n\nSo, a kernel that saturates DRAM with redundant traffic\napproaches 100%, while a kernel that eliminates that traffic through\nshared-memory reuse and becomes compute-bound at low FP32 intensity can score\nlower for doing strictly less work. Symmetrically, in the compute-bound branch\nthe score is F/P_peak, so redundant FP32 arithmetic raises it.\n\nI am not asking you to change the metric; adding fast_p is the right solution and\nyou have done it. I am asking to state this plainly in the paper\nas a limitation, alongside the recommendation to read CUDABench-Score\ntogether with fast_p.\n\n---\n\n> The overlap analysis shows [...] strengthening our interpretation that L3 evaluates\n> concept retrieval and synthesis.\n\nAgreed. Thank you.\n\n> Existing repositories and documentation, including PyTorch APIs and NVIDIA CUDA\n> Samples, are used only as references for task construction rather than directly\n> copied as benchmark kernels.\n\nOK.\n\n---\n\n> Line155 smsp__sass_thread_inst_executed_op_fadd_pred_on.sum.per_cycle_elapsed\n\nand\n\n> Let [...] measured FP32 [...] instruction rates [...] FADD and FMUL count as one FLOP, while FFMA counts as two; predicated-off instructions are excluded.\n\nHow do you capture TF32 tensor core work? Neither of these instructions does that, right?\nIf they are not captured, please either add them with the matching tensor peak, or state explicitly\nthat tensor-core kernels are out of scope and report how many generations actually emit tensor-core instructions. This does not change my rating (I assume you got it right, but please double-check).\n\n---\n\n> Therefore, comparisons with industry-standard, human-optimized implementations [...], represent an orthogonal direction.\n\nYou have chosen the \"Use-Inspired\" criteria rather than the \"General\" type. Thus, explicitly, prior work outside the ML literature must be considered and methods should be compared \"against any commonly used non-ML approaches as well as baseline ML methods\". For text-to-CUDA the commonly used non-ML approach is precisely the vendor library or compiler\nframework, so I consider this is the main remaining weakness."+ },+ "createdAt": "2026-08-03T21:16:21.804Z",+ "modifiedAt": "2026-11-19T16:41:41.281Z",+ "url": "https://openreview.net/forum?id=z77rvLkVc6¬eId=HQ9LfNt4Da",+ "license": "CC-BY-4.0"+}
reviews/openreview/z77rvlkvc6/notes/mtci3o1hsl.json added
+++ b/reviews/openreview/z77rvlkvc6/notes/mtci3o1hsl.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "mTCi3O1hsl",+ "replyTo": null,+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Meta Review",+ "comment": "We have responded point-by-point to all raised weaknesses and questions and added the requested experiments where necessary. In addition, we therefore clarify several other concerns and will improve their visibility and wording in the revision.\n\n## Q1: Fixed-reference metric and ranking stability\n\nPlease see the response to **W1/Q1 of Reviewer DXjL**. We add a fixed-reference metric. For task \\(i\\), reference time \\(t_i^{ref}\\), and generated time \\(t_{ij}\\), we add\n$$\ns_i^{(k)}=\\frac{t_i^{\\mathrm{ref}}}{\\min_{j\\leq k,\\;j\\ \\mathrm{functionally\\ correct}}t_{i,j}^{\\mathrm{model}}},\\\\ \\mathrm{fast}_p@k=\n\\frac{1}{N}\\sum_i\\mathbf{1}\\!\\left[\\exists j\\leq k:j\\ \\text{is functionally correct}\\land s_i^{(k)}>p\\right].\n$$\nThus `fast_1@k` is the fraction of all tasks solved correctly and faster than the fixed reference. The model rankings remain highly consistent with those under CUDABench-Score.\n\n## Q2: CUDABench-Score of reference kernel\n\nTo assess whether CUDABench-Score meaningfully distinguishes kernel-generation quality, we evaluate both the supplied reference kernels and an iterative refinement baseline. CUDABench can distinguish generation capability: the reference kernels, kernels generated by top-tier models, kernels generated by iterative refinement, achieve performance scores **33.5261%, ~40%, and 55.04%**, respectively.\n\n## Q3: ComputeEval and SOL-ExecBench\n\nPlease see the response to **W2 of Reviewer DXjL**. **ComputeEval** is already cited in Table 1 and Sec. 2 as an important text-to-CUDA benchmark. ComputeEval emphasizes functional evaluation of CUDA generation while CUDABench constructs a Breadth-Depth-Difficulty evaluation space focus on both an correctness and performance. We will also discuss **SOL-ExecBench**. CUDABench evaluates text-based, from-scratch CUDA generation across general GPU-computing domains, whereas SOL-ExecBench evaluates code-based optimization of production deep-learning kernels or subgraphs. Due to the double-blind review policy, we did not include this citation in the submitted manuscript. We will add the citation and clarify the relationship between the two works in the revision.\n\n## Q4: Contamination and memorization check\n\nPlease see the response to **W3/Q3 of Reviewer DXjL**. Following the reviewer’s suggestion, we conducted a rare lexical \\(n\\)-gram containment analysis over all 31,500 generations, restricted to `__global__`/`__device__` code after removing host-side code, I/O, and boilerplate. We evaluated \\(n\\in\\{8,10,12\\}\\) and report the median, 75th percentile, and 90th percentile overlap with matched reference kernels. Across all three \\(n\\)-gram lengths, Level 3 consistently exhibits lower overlap than Levels 1 and 2; for example, with 10-grams, its median/Q3/Q90 overlap is **0.000%/2.548%/6.945%**, compared with **0.000%/3.614%/8.280%** for Level 1 and **0.000%/3.614%/9.091%** for Level 2.\n\nThese results show no increased near-verbatim copying signal at Level 3 and are robust to the choice of \\(n\\). The pattern is also consistent with the prompt design: detailed Level 1/2 prompts constrain the implementation space and may induce structures closer to the references, whereas Level 3 permits greater algorithmic and implementation variation. Thus, the observed L3 performance is unlikely to be primarily explained by verbatim lexical memorization, although lexical overlap cannot rule out all forms of contamination.\n\nThe submitted appendix already acknowledges this limitation and describes mitigation through task rewriting, new natural-language prompts, and manually implemented benchmark instances. We will add the multi-\\(n\\) overlap analysis, cite prior \\(n\\)-gram-based contamination work, and further soften Finding 3 in the revision.\n\n## D1-D3: De-prioritized clarifications\n\n- **D1:** Appendix A.3 evaluates CUDABench on RTX 3090/A40/RTX 4090/RTX 5080, including Blackwell. We clarify that it is a representative hardware case study rather than full ranking validation (**Reviewer DXjL-W6/Q5**).\n- **D2:** We clarify that the current benchmark scope focuses on FP32 and single-kernel CUDA generation. Low precision formats, MoE, and runtime sparsity are potential extensions for future work (**Reviewer 42sK-W2/W3/Q3/Q4**).\n- **D3:** The tolerance policy is already provided in Appendix A.5. In the response to **R1-W4/Q4 of Reviewer DXjL**, we further specify the exact Nsight Compute conventions."+ },+ "createdAt": "2026-07-29T01:12:41.682Z",+ "modifiedAt": "2026-11-19T16:41:40.998Z",+ "url": "https://openreview.net/forum?id=z77rvLkVc6¬eId=mTCi3O1hsl",+ "license": "CC-BY-4.0"+}
reviews/openreview/z77rvlkvc6/notes/onxsqdynri.json modified
+++ b/reviews/openreview/z77rvlkvc6/notes/onxsqdynri.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair Y81W","content": {- "metareview": "Summary. CUDABench is a text-to-CUDA (from scratch, not code-to-code) benchmark: 500 tasks x 3 difficulty levels across 6 domains and 5 input scales, each with a data generator, validator, and reference kernel, plus an automated compile, execute, profile pipeline. Its headline metric, CUDABench-Score, is a roofline utilization ratio gated by compile and functional correctness. Findings: high compile but low functional correctness, an L3 domain knowledge collapse, and a near model independent ~40% utilization ceiling.\n\nReviewers agree the text-to-CUDA framing fills a real gap, the Breadth-Depth-Difficulty structure with per task generators/validators/references is valuable, and the compile-vs-functional gap and utilization findings are informative (DXjL, ggcB, 42sK). This is a use inspired benchmark paper and the informed reviewers applied the right lens.\n\nFor the paper to be strongly considered, the authors must convincingly address:\n\nThe metric design flaw (DXjL, related to 42sK). CUDABench-Score normalizes achieved performance by the candidate kernel's own measured arithmetic intensity, so a memory wasteful kernel gets an inflated ratio and an algorithmically suboptimal kernel that saturates hardware can score ~100% because wasted work is invisible; two correct implementations get different attainable bounds, which undercuts \"hardware independent.\" Please add a fixed reference metric (e.g., speedup vs the reference kernel, KernelBench style), which is a recomputation over existing profiling data, and report whether model rankings stay stable. This is the decisive item.\nInterpretability anchor (DXjL). Run the paper's own reference kernels through the identical pipeline and report their CUDABench-Score, so \"~40% utilization\" has a no-LLM anchor. If references also sit near 40%, the number reflects the metric/tasks rather than model weakness and must be reworded.\nMissing overlapping prior/concurrent work (DXjL). ComputeEval and SOL-ExecBench overlap the central contributions (text-to-CUDA with references; roofline/speed-of-light metrics) and must be cited and contrasted.\nContamination check (DXjL). Tasks come from CUDA Samples and popular repos, and L3 name-only prompts are the most exposed. Add a cheap memorization check on existing outputs (n-gram overlap or pass rate vs task popularity), since Finding 3 depends on L3 being synthesis rather than recall.\n\nDe-prioritized (not required): cross generation GPU (Hopper/Blackwell/RTX 5090) is a nice-to-have; MoE / dynamic-intensity handling and FP16/FP8/FP4 precision coverage (42sK) can be scoped as limitations rather than new experiments; specifying the tolerance policy and exact Nsight FLOP/byte counters is a documentation fix.\n\nIf items 1 through 4 are answered convincingly, especially if rankings survive a fixed reference metric, I would be prepared to move to accept. Please rebut any point you believe is factually wrong."+ "metareview": "Summary. CUDABench is a text-to-CUDA (from scratch, not code-to-code) benchmark: 500 tasks x 3 difficulty levels across 6 domains and 5 input scales, each with a data generator, validator, and reference kernel, plus an automated compile, execute, profile pipeline. Its headline metric, CUDABench-Score, is a roofline utilization ratio gated by compile and functional correctness. Findings: high compile but low functional correctness, an L3 domain knowledge collapse, and a near model independent ~40% utilization ceiling.\n\nReviewers agree the text-to-CUDA framing fills a real gap, the Breadth-Depth-Difficulty structure with per task generators/validators/references is valuable, and the compile-vs-functional gap and utilization findings are informative (DXjL, ggcB, 42sK). This is a use inspired benchmark paper and the informed reviewers applied the right lens.\n\nFor the paper to be strongly considered, the authors must convincingly address:\n\nThe metric design flaw (DXjL, related to 42sK). CUDABench-Score normalizes achieved performance by the candidate kernel's own measured arithmetic intensity, so a memory wasteful kernel gets an inflated ratio and an algorithmically suboptimal kernel that saturates hardware can score ~100% because wasted work is invisible; two correct implementations get different attainable bounds, which undercuts \"hardware independent.\" Please add a fixed reference metric (e.g., speedup vs the reference kernel, KernelBench style), which is a recomputation over existing profiling data, and report whether model rankings stay stable. This is the decisive item.\nInterpretability anchor (DXjL). Run the paper's own reference kernels through the identical pipeline and report their CUDABench-Score, so \"~40% utilization\" has a no-LLM anchor. If references also sit near 40%, the number reflects the metric/tasks rather than model weakness and must be reworded.\nMissing overlapping prior/concurrent work (DXjL). ComputeEval and SOL-ExecBench overlap the central contributions (text-to-CUDA with references; roofline/speed-of-light metrics) and must be cited and contrasted.\nContamination check (DXjL). Tasks come from CUDA Samples and popular repos, and L3 name-only prompts are the most exposed. Add a cheap memorization check on existing outputs (n-gram overlap or pass rate vs task popularity), since Finding 3 depends on L3 being synthesis rather than recall.\n\nDe-prioritized (not required): cross generation GPU (Hopper/Blackwell/RTX 5090) is a nice-to-have; MoE / dynamic-intensity handling and FP16/FP8/FP4 precision coverage (42sK) can be scoped as limitations rather than new experiments; specifying the tolerance policy and exact Nsight FLOP/byte counters is a documentation fix.\n\nIf items 1 through 4 are answered convincingly, especially if rankings survive a fixed reference metric, I would be prepared to move to accept. Please rebut any point you believe is factually wrong.",+ "final_justification": "CUDABench addresses a clear and growing need for rigorous, execution-based evaluation of LLM-generated GPU code. While my initial meta-review was a \"Reject\" pending major revisions, the authors provided an exceptional, highly rigorous rebuttal that successfully resolved all decisive concerns and elevated reviewer scores to Accept/Borderline Accept. \n\nKey Rebuttal Resolutions:\n1. Metric Validity: Added a fixed-reference metric (`fast_1@k`), proving model ranking stability remains highly consistent (Spearman’s ρ ≥ 0.857), mitigating concerns about the roofline metric being gamed.\n2. Interpretability Anchor: Evaluated hand-written reference kernels through the pipeline (~33.5% score), proving the benchmark meaningfully distinguishes generation capability from top-tier models (~40%) and iterative refinement (~55%).\n3. Related Work: Clarified the distinct scope of CUDABench (text-to-CUDA from scratch) versus ComputeEval and SOL-ExecBench, committing to add the missing citations.\n4. Contamination Check: Conducted a robust n-gram overlap analysis showing Level 3 prompts have *lower* verbatim copying signals than Levels 1/2, confirming the benchmark evaluates synthesis, not memorization.\n\nRemaining Considerations & Camera-Ready Expectations\nReviewers correctly noted the practical limitations of the benchmark being restricted to FP32 and single-kernel generation. The authors have appropriately acknowledged this and agreed to explicitly state it as a limitation. \n\nI recommend Accept, with the expectation that the authors will incorporate the promised camera-ready revisions: explicitly scoping the FP32/single-kernel limitations and moving critical methodological details (the fixed-reference ranking table, correctness gating logic, and numerical tolerance policies) into the main text for transparency."},"createdAt": "2026-07-23T16:43:15.484Z",- "modifiedAt": "2026-11-18T15:22:48.482Z",+ "modifiedAt": "2026-11-19T05:01:45.073Z","url": "https://openreview.net/forum?id=z77rvLkVc6¬eId=OnXSqDyNri","license": "CC-BY-4.0"}
reviews/openreview/z77rvlkvc6/notes/rshzp4hyfi.json added
+++ b/reviews/openreview/z77rvlkvc6/notes/rshzp4hyfi.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "Rshzp4hYfI",+ "replyTo": "UObyFvOWFx",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you very much for the response and careful re-evaluation! We are pleased that the additional experiments and clarifications addressed your concerns. In the revision, we will incorporate your suggestions into the main text, including $fast_p$ metric, correctness gating, tolerance policy, and additional citations.\n\nRegarding tensor cores, our current benchmark explicitly targets FP32 CUDA generation, and the evaluated kernels do not emit TF32 tensor-core instructions. Following your suggestion, we promise to construct a tensor-core-compatible subset of the benchmark and extend the evaluation pipeline and metrics to support TF32 generation on tensor-core-enabled GPUs.\n\nFinally, thank you for pointing out the implications of the Contribution Type. We originally selected Use-Inspired because CUDABench is motivated by a practical problem, benchmarking LLMs, rather than by a purely theoretical question. We may not have fully understood the distinction between the General and Use-Inspired categories when making the submission. If the contribution type can still be reconsidered, we believe that General may better reflect the scope and objectives of this work."+ },+ "createdAt": "2026-08-04T07:47:34.475Z",+ "modifiedAt": "2026-11-19T16:41:41.193Z",+ "url": "https://openreview.net/forum?id=z77rvLkVc6¬eId=Rshzp4hYfI",+ "license": "CC-BY-4.0"+}
reviews/openreview/z77rvlkvc6/notes/uobyfvowfx.json added
+++ b/reviews/openreview/z77rvlkvc6/notes/uobyfvowfx.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "UObyFvOWFx",+ "replyTo": "HQ9LfNt4Da",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer DXjL",+ "content": {+ "comment": "Based on feedback from the PC, I have to change the evaluation criteria to \"Use-Inspired\", while I applied the \"General\" criteria in my initial review as I considered them more favorable for this work. \n\nI revise my scores: \n- Originality 3 -> 4 (based on rebuttal & applying use-inspired criteria)\n- Significance 3 -> 4 (based on rebuttal) -> 2 (based on use-inspired criteria where fp32 is largely a deal-breaker)\n- Quality 3, unchanged\n- Clarity 3, unchanged\n- Confidence 4, unchanged\n- Overall rating 4 -> 5 (based on rebuttal) -> 4 (after criteria fix)"+ },+ "createdAt": "2026-08-03T21:17:11.210Z",+ "modifiedAt": "2026-11-19T16:41:40.986Z",+ "url": "https://openreview.net/forum?id=z77rvLkVc6¬eId=UObyFvOWFx",+ "license": "CC-BY-4.0"+}