advisory_flags
listlengths
0
3
candidate_sha256
stringlengths
64
64
dataset_group_id
stringlengths
64
64
ending
stringclasses
4 values
family_id
stringlengths
64
64
final_files
unknown
fresh_recheck_required
bool
2 classes
messages
listlengths
7
207
policy
stringclasses
1 value
provenance
dict
qualification
dict
review_flags
listlengths
0
0
schema_version
int64
2
2
semantic_review
stringclasses
1 value
split
stringclasses
1 value
summary_required
bool
1 class
task_id
stringlengths
33
42
[]
d62ad7d9ee0f7a2e2cd50b16e24d9d74f4b5a7b324599cacb389087485eb78a1
cd45aae5dac90cf83b6e8bc09c8f08d126728ecb32411c5c1fe27a0362f85a5f
validated_tool_observation
89e7853f8b53597b4d19ac4844313599604d9541fce4f18e892a76ecbe1ada7b
{ "candidate.cu": "#include <iostream>\n#include <cuda_runtime.h>\n#include <thrust/device_vector.h>\n#include <thrust/host_vector.h>\n#include <thrust/generate.h>\n#include <thrust/copy.h>\n#include <random>\n#include <algorithm>\n\n// Define the size of the filter and the input\n#define FILTER_SIZE 32\n#define INPU...
false
[ { "content": "Translate the following complete HIP program to complete CUDA C++. Preserve the program's algorithms, data types, public interfaces, launch geometry, synchronization, error handling, and observable output. Replace HIP runtime and cooperative-groups APIs with their CUDA equivalents; do not retain H...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [], "validation": { "kind": "original_collection_pass", "evaluation_id": "42c3018666784f558f878638d30477cd", "evaluation_sha256": "fbcfb6954aa29c00856c24e29e1546929d5462ef4e3ef878bcd69e53bc337e0a", "fresh_process":...
{ "acceleration_evidence": null, "correctness": "pass", "evaluation_sha256": "fbcfb6954aa29c00856c24e29e1546929d5462ef4e3ef878bcd69e53bc337e0a", "has_torch_reference": false, "speedup": null }
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_645ba9eab3f567c559391fe3
[ "normal_build_or_runtime_configuration", "possible_evaluator_workaround" ]
ff47dec6a202841d1699e817c150a8b25be8ab720131966fa32a41ae2d416df6
06ab3b5025c6b04ff48bbd4d5d9bc16e996ed65fe9bb58ef1f24a3218b0d282f
validated_tool_observation
d65df931f55cfb74b48cd2836796a2b93c745b649ac763aa1a8360b231331cfa
{ "candidate.py": "import os\nimport torch\nfrom torch import nn\nfrom torch.utils.cpp_extension import load_inline\n\n_CUDA_SRC = r\"\"\"\n#include <torch/extension.h>\n#include <ATen/cuda/CUDAContext.h>\n#include <ATen/cuda/EmptyTensor.h>\n#include <cuda_runtime.h>\n\n#define FULL 0xffffffffu\n\n// Conv one output ...
false
[ { "content": "Implement an optimized CUDA replacement for the reference PyTorch program. Preserve its observable behavior and interface. Return one Python module containing the CUDA implementation and its Python bindings.\n\nReference program:\n```python\nimport torch\nimport torch.nn.functional as F\nfrom torc...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [ { "message_id": "msg_0c9fb2be30014jF4XsqMYvOOw0", "part_id": "prt_0c9fc3877001lfysiprv1ob587", "call_id": "call_68589930724f4f4289d0c0a9", "source": "agent-trace.jsonl:14057" } ], "validation": ...
{ "acceleration_evidence": { "kind": "stable_paired_timing", "original_timing_trusted": true, "original_trusted_timing": true, "paired_wins": 9, "recorded_sample_speedup_lower_bound": 3.1044316636, "relative_mad_within_25_percent": true, "sample_pairs": 9, "scope": "recorded paired sam...
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_91093d59a0adc1708b798e15
[ "normal_build_or_runtime_configuration" ]
640fd71562ca8a168d1966ed72e22255b00fa6eb1fb33b412fbc70a468179033
e3f9b5cc223d7dc0309924b94cce22330fb9ffd98897dbf3693b2c7c24fba8c4
validated_tool_observation
eeca1a03485bd3b2ab467c55775d57f3e211f97e214694c1cc2c154d99bd4f53
{ "candidate.py": "import os\n\nimport torch\nfrom torch.utils.cpp_extension import load_inline\n\n_HERE = os.path.dirname(os.path.abspath(__file__))\nos.environ.setdefault(\"TORCH_EXTENSIONS_DIR\", os.path.join(_HERE, \".torch_ext\"))\n\n_CPP_DECL = r\"\"\"\n#include <torch/extension.h>\ntorch::Tensor rot_not(const ...
false
[ { "content": "Implement an optimized CUDA replacement for the reference PyTorch program. Preserve its observable behavior and interface. Return one Python module containing the CUDA implementation and its Python bindings.\n\nReference program:\n```python\nimport torch\n\n\nclass Model(torch.nn.Module):\n def...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [ { "message_id": "msg_0ca025a9b001IOVZD0ADUgieOS", "part_id": "prt_0ca029a5d001tRJZoT0BC5T0ed", "call_id": "call_3002ae3092624399ae630cea", "source": "agent-trace.jsonl:23945" } ], "validation": ...
{ "acceleration_evidence": { "kind": "stable_paired_timing", "original_timing_trusted": true, "original_trusted_timing": true, "paired_wins": 9, "recorded_sample_speedup_lower_bound": 4.4851770771, "relative_mad_within_25_percent": true, "sample_pairs": 9, "scope": "recorded paired sam...
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_13036880793ef8eebf47aa4d
[]
9c33b9e4b2020239be7cd6c02e1c9b05918affcaed49ebceae246750dd6e60fd
ea2ee65d7b49c6541e6e3575b27b5fe370edc5f56c4e74a434e763d6e5d84f6f
validated_tool_observation
44e807481c1d3da6fc4c779df330ef49b3f6a511c8c9f22c75914c1071fa189c
{ "candidate.py": "import torch\nimport torch.nn as nn\nfrom torch.utils.cpp_extension import load_inline\n\n_CPP = (\n \"torch::Tensor bnsl(torch::Tensor x, torch::Tensor gamma, torch::Tensor beta, \"\n \"torch::Tensor rm, torch::Tensor rv, torch::Tensor nbt, torch::Tensor w, \"\n \"torch::Tensor b, torch::...
false
[ { "content": "Implement an optimized CUDA replacement for the reference PyTorch program. Preserve its observable behavior and interface. Return one Python module containing the CUDA implementation and its Python bindings.\n\nReference program:\n```python\nimport torch\nimport torch.nn as nn\nimport torch.nn.fun...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [], "validation": { "kind": "original_collection_pass", "evaluation_id": "d5092d6906484ae98578da906aa5a255", "evaluation_sha256": "4b6788697e8cbebd19bdd1d8aa2ae43df13e636e23df7f3b0b3934cbb6d554fb", "fresh_process":...
{ "acceleration_evidence": { "kind": "stable_paired_timing", "original_timing_trusted": true, "original_trusted_timing": true, "paired_wins": 9, "recorded_sample_speedup_lower_bound": 2.5017321683, "relative_mad_within_25_percent": true, "sample_pairs": 9, "scope": "recorded paired sam...
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_7757bb35fc4863a24170e673
[ "normal_build_or_runtime_configuration" ]
6b796ae63105e9c83eb34f4248e5a03701d6d9c7b414d66f87ff5c506a8d28ee
b981b1471ca5575c4783f48a9a8923fd7db34cdbe6f7fe69adf8a32ff7152923
validated_tool_observation
e834dc0fc4d7ff930eca03add5025d6615dc36c4c03675d40293ee1e3b64ddda
{ "candidate.py": "\"\"\"Fused CUDA replacement for: argmax(flatten(pow(mean(x, dim=1), 2))).\n\nx is (B, C, H, W) fp32; the reference reads 4 GiB for the strided dim-1 mean,\nthen makes two more passes over the (B,H,W) intermediate. This version reads\nthe input exactly once in a single streaming kernel and emits o...
false
[ { "content": "Implement an optimized CUDA replacement for the reference PyTorch program. Preserve its observable behavior and interface. Return one Python module containing the CUDA implementation and its Python bindings.\n\nReference program:\n```python\nimport torch\nimport torch.nn as nn\n\n\nclass Model(nn....
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [ { "message_id": "msg_0c9f52a8f001EcPc4KSZXCjFkr", "part_id": "prt_0c9f58f3f001xFPYUbz1ozkCYL", "call_id": "call_c783b3c45299478182e081dd", "source": "agent-trace.jsonl:12480" } ], "validation": ...
{ "acceleration_evidence": { "kind": "stable_paired_timing", "original_timing_trusted": true, "original_trusted_timing": true, "paired_wins": 9, "recorded_sample_speedup_lower_bound": 1.0269370038, "relative_mad_within_25_percent": true, "sample_pairs": 9, "scope": "recorded paired sam...
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_6e710b007eba8689c79cbbff
[]
f11db1dce9ef478a507c5ed71c3a091238da80c2fbae603c317c23eb7b3f5c9e
d13a0db6029dd1ddcddce0fe51cd14bd3af1fe90b52911ea7ac5616d9d8ff59c
validated_tool_observation
b9a3b705771b312fdb0a931d32279894e26d0f1d58dfef84843dfb1cab2a7e37
{ "candidate.py": "import torch\nimport torch.nn\nfrom torch.utils.cpp_extension import load_inline\n\n_cuda_src = r\"\"\"\n#include <torch/extension.h>\n#include <cuda_runtime.h>\n#include <ATen/cuda/CUDAContext.h>\n\n// Vectorized kernel: each thread adds 1.0 to 4 contiguous floats.\n__global__ void add_one_vec_ker...
false
[ { "content": "Implement an optimized CUDA replacement for the reference PyTorch program. Preserve its observable behavior and interface. Return one Python module containing the CUDA implementation and its Python bindings.\n\nReference program:\n```python\nimport torch\nimport torch.nn\n\n\nclass A(torch.nn.Modu...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [], "validation": { "kind": "original_collection_pass", "evaluation_id": "161057bcc4444772afe066d03ee153ae", "evaluation_sha256": "1565ffcd3fae05f01c81d2079b2abd0fd40378570475804f778addf827e04143", "fresh_process":...
{ "acceleration_evidence": { "kind": "measured_no_speedup", "original_timing_trusted": true, "original_trusted_timing": true, "paired_wins": 3, "recorded_sample_speedup_lower_bound": 0.5621546092, "relative_mad_within_25_percent": true, "sample_pairs": 9, "scope": "recorded paired samp...
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_63d0ea244c8232dbc75ee5ac
[]
a49218db3ed5938197cc879c6ce6bacb6973317bcda4b1cddce2062cf5438d03
ee80885aadd3af0d704b9b97f8eae0d91d494ef6c3283ab6abaf0d7591a37740
validated_tool_observation
56212e8db7b37954aa73bcbe19869caf1952a89376900e9321a3afd8c68adf06
{ "candidate.py": "import math\nimport torch\nimport torch.nn as nn\nfrom torch.utils.cpp_extension import load_inline\n\n_CU_A = r\"\"\"\n// Fused CUDA implementation: conv1d -> QKV projections -> single-head SDPA ->\n// relu -> mean -> fc -> CrossEntropyLoss(mean).\n#include <torch/extension.h>\n#include <ATen/cuda...
false
[ { "content": "Implement an optimized CUDA replacement for the reference PyTorch program. Preserve its observable behavior and interface. Return one Python module containing the CUDA implementation and its Python bindings.\n\nReference program:\n```python\nimport torch\nimport torch.nn as nn\nimport torch.nn.fun...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [ { "message_id": "msg_0c9ffffe4001Q8J1V5QzGzgvDm", "part_id": "prt_0ca003f78001W43HKO7bgdrfW0", "call_id": "call_c57e2454ca7a421e9fec47aa", "source": "agent-trace.jsonl:15703" } ], "validation": ...
{ "acceleration_evidence": { "kind": "stable_paired_timing", "original_timing_trusted": true, "original_trusted_timing": true, "paired_wins": 9, "recorded_sample_speedup_lower_bound": 1.8706929702, "relative_mad_within_25_percent": true, "sample_pairs": 9, "scope": "recorded paired sam...
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_9eba2427d5ff0154097b3f17
[ "normal_build_or_runtime_configuration" ]
7e7377558ce70912b6d4272ba03c4cb3ab03cf07c3f4b8a87b9dda5e5afe4b2c
50fa3ee5eba57f2d3f455348b853d039007f167427ea7881de62add8286fe221
validated_tool_observation
765e35af994be284d623d4d22623a5ea15fda39450a84b61aeb7ae6a9340a487
{ "candidate.py": "import os\n\nimport torch\nimport torch.nn as nn\nfrom torch.utils.cpp_extension import load_inline\n\nos.environ.setdefault(\"TORCH_CUDA_ARCH_LIST\", \"9.0\")\n\n_CPP_SRC = r\"\"\"\n#include <torch/extension.h>\n#include <vector>\nstd::vector<torch::Tensor> fused_forward(torch::Tensor x, torch::Te...
false
[ { "content": "Implement an optimized CUDA replacement for the reference PyTorch program. Preserve its observable behavior and interface. Return one Python module containing the CUDA implementation and its Python bindings.\n\nReference program:\n```python\nimport torch\nimport torch.nn as nn\nimport torch.nn.fun...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [], "validation": { "kind": "original_collection_pass", "evaluation_id": "b935a37083234744b5be5b0116c1fd2a", "evaluation_sha256": "5556fee6360aea760ccda0cb8db107f39a7fd3134086117a91770acb50bf9410", "fresh_process":...
{ "acceleration_evidence": { "kind": "stable_paired_timing", "original_timing_trusted": true, "original_trusted_timing": true, "paired_wins": 9, "recorded_sample_speedup_lower_bound": 2.5600842946, "relative_mad_within_25_percent": true, "sample_pairs": 9, "scope": "recorded paired sam...
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_6f079cc76baa2d7844386312
[ "possible_evaluator_workaround" ]
43f3f441bccdf5c26bc8931d3cd3040a290912726803bef8ea9ee5cba3d298fb
f2bd371c065083cb643cc0f27ca22fbeddb642be6ea86627cdd593da86d80bf3
validated_tool_observation
2c51f965e4b428829440004e4b994ee2b62d968388219aaf71e2e661d314e2bd
{ "candidate.py": "import os\n\nimport torch\nfrom torch.utils.cpp_extension import load_inline\n\n_CUDA_SRC = r\"\"\"\n#include <torch/extension.h>\n#include <ATen/cuda/CUDAContext.h>\n#include <ATen/cuda/EmptyTensor.h>\n#include <cuda_runtime.h>\n#include <vector>\n#include <cstdint>\n\n#define HID 50\n#define TILE...
false
[ { "content": "Implement an optimized CUDA replacement for the reference PyTorch program. Preserve its observable behavior and interface. Return one Python module containing the CUDA implementation and its Python bindings.\n\nReference program:\n```python\nimport torch\nimport torch.nn.parallel\nimport torch.uti...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [ { "message_id": "msg_0cb4f09c6001fc5MaXPlzS9Q5C", "part_id": "prt_0cb4f302e001HG2wZUIkHuA7N4", "call_id": "call_87a7e5bab2554c7dbd282663", "source": "agent-trace.jsonl:6217" } ], "validation": {...
{ "acceleration_evidence": { "kind": "stable_paired_timing", "original_timing_trusted": true, "original_trusted_timing": true, "paired_wins": 9, "recorded_sample_speedup_lower_bound": 1.741754992, "relative_mad_within_25_percent": true, "sample_pairs": 9, "scope": "recorded paired samp...
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_ed7ebec8e7f0324fef2ba6d2
[]
a355b4f237f808562b6dc3d502357f9491a46ef5af8c74abe0fe3e05a7efb7dd
878f2b48e65e1847548383eed1ffb280f7f56ad41f9b2888228ca6ac92420691
validated_tool_observation
60e548a9b4256bd59117d5a0969f6e4ab56bf06f781f3a6f8606c40ded83c92d
{ "candidate.cu": "#include <iostream>\n#include <cuda_runtime.h>\n#include <thrust/host_vector.h>\n#include <thrust/device_vector.h>\n#include <thrust/sort.h>\n#include <thrust/scan.h>\n#include <thrust/execution_policy.h>\n#include <thrust/remove.h>\n#include <thrust/copy.h>\n#include <thrust/fill.h>\n#include <thr...
false
[ { "content": "Translate the following complete HIP program to complete CUDA C++. Preserve the program's algorithms, data types, public interfaces, launch geometry, synchronization, error handling, and observable output. Replace HIP runtime and cooperative-groups APIs with their CUDA equivalents; do not retain H...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [], "validation": { "kind": "original_collection_pass", "evaluation_id": "43a5a4b7c1de4622a87f520d3db03396", "evaluation_sha256": "b6bebe18195c9e257d16c02e0089f044304cf6eacb1fcfce2ee2d8af690ce871", "fresh_process":...
{ "acceleration_evidence": null, "correctness": "pass", "evaluation_sha256": "b6bebe18195c9e257d16c02e0089f044304cf6eacb1fcfce2ee2d8af690ce871", "has_torch_reference": false, "speedup": null }
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_22e1df86150df7febbb7df9a
[]
e22522d9b809a683cb270f6ba1faceba38374e3dc773e261d390a06e30352dd9
d58814a000171b6a639977fd0f0aea15aae56619da2d401802da1826dc179a9c
validated_tool_observation
3a4823ac154376466a5e2aa47af39034b3af341e7d48fcf6cbcebd1524665384
{ "candidate.py": "import torch\nfrom torch.utils.cpp_extension import load_inline\n\n_CUDA_SRC = r\"\"\"\n#include <torch/extension.h>\n#include <ATen/cuda/CUDAContext.h>\n#include <cuda_runtime.h>\n#include <algorithm>\n\n// Segmented reduction kernel: LPR lanes cooperate on one row. Lanes stride\n// along the (cli...
false
[ { "content": "Implement the following mathematical computation efficiently using custom CUDA kernels.\nApply the linear operator given by a banded matrix plus a diagonal shift to a vector, where the banded matrix is supplied in a compact row-oriented storage and the diagonal shift is supplied as a separate vect...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [], "validation": { "kind": "original_collection_pass", "evaluation_id": "a1a7ee9c5e894ba2a4a2a717b8876c88", "evaluation_sha256": "c1f7cba22fd59eb236c6f405778e33cbdbc51ba50e35dbab9b76724107f94cba", "fresh_process":...
{ "acceleration_evidence": null, "correctness": "pass", "evaluation_sha256": "c1f7cba22fd59eb236c6f405778e33cbdbc51ba50e35dbab9b76724107f94cba", "has_torch_reference": false, "speedup": null }
[]
2
accepted_recorded_test_suite_pass
train
false
algebra_discovery_d849e7fac157dc6a292a2e1c
[ "named_candidate_environment_configuration" ]
66ce04f81ae1811298fd7905e36297fca4be56e8a272ed89b37b185a187edcee
d26388866e8616cc8f49abbadc0f92a51de921066ed292144e77736e08e3b493
validated_tool_observation
7c2ecb81955c48e0e36119bce2e7d46731a40138c77ca18524ade62cbdb62fa1
{ "candidate.py": "import os\n\nimport torch\nimport torch.nn as nn\nfrom torch.utils.cpp_extension import load_inline\n\n_CUDA_SRC = r\"\"\"\n#include <torch/extension.h>\n#include <ATen/cuda/CUDAContext.h>\n#include <cuda_runtime.h>\n#include <float.h>\n\n#define DEV_INLINE __device__ __forceinline__\n\nDEV_INLINE ...
false
[ { "content": "Implement an optimized CUDA replacement for the reference PyTorch program. Preserve its observable behavior and interface. Return one Python module containing the CUDA implementation and its Python bindings.\n\nReference program:\n```python\nimport torch\nimport torch.nn as nn\nimport torch.nn.fun...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [], "validation": { "kind": "original_collection_pass", "evaluation_id": "97b4aa7bfea74a8d9b6f10460a8f9c83", "evaluation_sha256": "b9d3a5bf40b65abe6aaeb11e9b020be0dd47eff6273e95d10661aa24157b735c", "fresh_process":...
{ "acceleration_evidence": { "kind": "stable_paired_timing", "original_timing_trusted": true, "original_trusted_timing": true, "paired_wins": 9, "recorded_sample_speedup_lower_bound": 2.7032952289, "relative_mad_within_25_percent": true, "sample_pairs": 9, "scope": "recorded paired sam...
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_a68a4231917d757f95274e4e
[ "possible_evaluator_workaround" ]
cbb75de2e41ffb46acd0cf01ca405b05484fc0d85fa70a8d66a039f278802175
1692c082a8926e629026f806e4d573a6b8c4739795c209162c58bd9a3a8e497d
validated_tool_observation
5a63d2fda1029391481acb1a19e922d762168cb087164e7193f963604211251c
{ "candidate.py": "import numpy as np\nimport torch\nimport torch.nn as nn\nfrom torch.utils.cpp_extension import load_inline\n\n_cuda_src = r\"\"\"\n#include <torch/extension.h>\n#include <ATen/cuda/CUDAContext.h>\n#include <ATen/cuda/EmptyTensor.h>\n#include <c10/cuda/CUDACachingAllocator.h>\n#include <cuda_runtime...
false
[ { "content": "Implement an optimized CUDA replacement for the reference PyTorch program. Preserve its observable behavior and interface. Return one Python module containing the CUDA implementation and its Python bindings.\n\nReference program:\n```python\nimport torch\nimport numpy as np\nimport torch as t\n\n\...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [], "validation": { "kind": "original_collection_pass", "evaluation_id": "49e6fb7adfad40b6a4492da070f0202f", "evaluation_sha256": "eb50f6963202afd2e0bde3fcf06fe8b15fe9522b39b313fa95df35f52f192199", "fresh_process":...
{ "acceleration_evidence": { "kind": "stable_paired_timing", "original_timing_trusted": true, "original_trusted_timing": true, "paired_wins": 9, "recorded_sample_speedup_lower_bound": 1.8185632909, "relative_mad_within_25_percent": true, "sample_pairs": 9, "scope": "recorded paired sam...
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_b95254d2b246029b93f210eb
[ "auxiliary_translation_inconclusive_numeric_primary_passed" ]
dbd09363572acb8e7aba7a09923a99f1acbfefb9dd5ad8c35be4d9ec13612f85
e4781d774e58d37d9e0bafc0416e3af7b684dfd1a476810b9e7eccdaa9f618d9
validated_tool_observation
2ebaa6b17a9f893f7a44db80c4d4e66433717b54f6ce257c124fa733accf2f6d
{ "candidate.cu": "#include <iostream>\n#include <cuda_runtime.h>\n#include <thrust/random.h>\n\n#define TABLE_SIZE 4096\n#define MAX_ITERS 5\n\n// CUDA error checking macro\n#define CUDA_CHECK(call) \\\n { ...
false
[ { "content": "Translate the following complete HIP program to complete CUDA C++. Preserve the program's algorithms, data types, public interfaces, launch geometry, synchronization, error handling, and observable output. Replace HIP runtime and cooperative-groups APIs with their CUDA equivalents; do not retain H...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [ { "message_id": "msg_0c9dd0854001rZTeXY7pLMKQy2", "part_id": "prt_0c9dda0cd0015GrDrwjkhvvwpu", "call_id": "call_d2fd3db5b8f34592878af488", "source": "agent-trace.jsonl:3555" } ], "validation": {...
{ "acceleration_evidence": null, "correctness": "pass", "evaluation_sha256": "cb6d438013b056a7776534f5b0316e1c2f29c65a32d5b364e9ca983492d7e247", "has_torch_reference": false, "speedup": null }
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_d3ce378b058005c011f5b0ef
[]
88d82d165d229ccd10ddeec0ebda26fa202f554e02abc49477c8b6fd90fa5626
0b9a2f5ecd96e5ddfc68f0ebecc312aac160839fc04d0b2d2ae87ddc2467c448
original_archived_ending
d9cfdd755c7761d4285b0e67ddc87b42c0d014ece141036b020f942c82f8c5be
{ "candidate.py": "import torch\nfrom torch.utils.cpp_extension import load_inline\n\n# Optimized CUDA replacement of the reference:\n# mask = tril(ones(H, W)) built from meshgrid(x1, x2) (H=len(x1), W=len(x2))\n# kl = KLDivLoss(log_softmax(mask, -1), softmax(mask, -1), reduction)\n# The mask depends only on th...
false
[ { "content": "Implement an optimized CUDA replacement for the reference PyTorch program. Preserve its observable behavior and interface. Return one Python module containing the CUDA implementation and its Python bindings.\n\nReference program:\n```python\nimport torch\nimport torch.nn as nn\nimport torch.nn.fun...
accepted-test-suite-pass-uniform-agentic-sft-v2
{ "source_status": "passed", "original_completion": false, "observation_repairs": [ { "message_id": "msg_0c9f8beb50016yIPVR46sljDZh", "part_id": "prt_0c9f92b21001dJjHCEKsuBu8I9", "call_id": "call_48930bed12e84974b99883a4", "source": "agent-trace.jsonl:12596" } ], "validation": ...
{ "acceleration_evidence": null, "correctness": "pass", "evaluation_sha256": "4065301528b5264fe4030f1e771f2c1f6bb4c5f0e5a0a7af46e85acc79470f32", "has_torch_reference": true, "speedup": 5.3114613439 }
[]
2
accepted_recorded_test_suite_pass
train
false
cuda_prompt_37f63b4116e7209940a490de