SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2609.12471 · September 2026

AMDKernelVault: Large-Scale Datasets and Agentic Training for AMD GPU Kernel Optimization

Dong Li, Ji Liu, Sharon Zhou, Pratik Prabhanjan Brahma, Zicheng Liu, Yang Li, Emad Barsoum, Umang Pandey, Wenwen Ouyang, Zeping Li, Zekai Li, Yiqing Huang, and 6 more

arXiv · PDF · Open in the Atlas

Code that ran

2 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2609.12471.json · badge: /api/ran/2609.12471.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
AMD-AGI/hip_kernel_llm_lab canonical (classifier label)
classifier basis: census
2 ran · 2 no recorded run
FunctionStatusWhere it lives
iter_hip_files Ran
ran; our contract draft was wrong, not the code
AMD-AGI/hip_kernel_llm_lab/hip-kernel-generator/py_hip_kernel2kernel_kit/py_hip_kernel2kernel_kit/discovery.py
code served (permissive licence) · get_code("bacc8b6c32f4e1b4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
from pathlib import Path

# Create a temporary directory with some .hip files for testing
temp_dir = tempfile.TemporaryDirectory()
input_dir = Path(temp_dir.name)

# Create some .hip files in the temporary directory
(input_dir / "file1.hip").touch()
(input_dir / "file2.hip").touch()

# Create a subdirectory with more .hip files
subdir = input_dir / "subdir"
subdir.mkdir()
(subdir / "file3.hip").touch()

# Create a non-.hip file to ensure it's filtered out
(input_dir / "file4.txt").touch()

ARGS = {
    "input_dir": input_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
select_optimization_target Ran
ran; our contract draft was wrong, not the code
AMD-AGI/hip_kernel_llm_lab/hip-kernel-generator/py_hip_kernel2kernel_kit/py_hip_kernel2kernel_kit/hip_parser.py
code served (permissive licence) · get_code("586b1febc41b5428")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned GPUFunction. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from dataclasses import dataclass

@dataclass(slots=True)
class GPUFunction:
    name: str
    qualifier: str
    signature: str
    full_text: str
    body: str
    start: int
    end: int
    body_start: int
    body_end: int

    @property
    def body_char_length(self) -> int:
        return len(self.body.strip())

# Create test GPUFunction instances
func1 = GPUFunction(
    name="kernel1",
    qualifier="__global__",
    signature="void kernel1(int *data)",
    full_text="__global__ void kernel1(int *data) { int x = threadIdx.x; }",
    body="{ int x = threadIdx.x; }",
    start=0,
    end=60,
    body_start=45,
    body_end=60
)

func2 = GPUFunction(
    name="helper1",
    qualifier="__device__",
    signature="int helper1(int a)",
    full_text="__device__ int helper1(int a) { return a * 2; }",
    body="{ return a * 2; }",
    start=61,
    end=110,
    body_start=95,
    body_end=110
)

func3 = GPUFunction(
    name="kernel2",
    qualifier="__global__",
    signature="void kernel2(float *out)",
    full_text="__global__ void kernel2(float *out) { int idx = blockIdx.x * blockDim.x + threadIdx.x; out[idx] = idx * 1.5f; }",
    body="{ int idx = blockIdx.x * blockDim.x + threadIdx.x; out[idx] = idx * 1.5f; }",
    start=111,
    end=220,
    body_start=145,
    body_end=220
)

func4 = GPUFunction(
    name="simple",
    qualifier="",
    signature="void simple()",
    full_text="void simple() { printf(\"hello\"); }",
    body="{ printf(\"hello\"); }",
    start=221,
    end=255,
    body_start=240,
    body_end=255
)

ARGS = {
    "functions": [func1, func2, func3, func4],
    "mode": "auto"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GPUFunction — a GPUFunction output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a GPUFunction output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_gpu_function_body Not yet run
unverified (harvested, no recorded run)
AMD-AGI/hip_kernel_llm_lab/hip-kernel-generator/py_hip_kernel2kernel_kit/py_hip_kernel2kernel_kit/hip_parser.py
code served (permissive licence) · get_code("4dcca59a450bf4ae")
How it ran

no invocation recorded.

extract_gpu_functions Not yet run
unverified (harvested, no recorded run)
AMD-AGI/hip_kernel_llm_lab/hip-kernel-generator/py_hip_kernel2kernel_kit/py_hip_kernel2kernel_kit/hip_parser.py
code served (permissive licence) · get_code("f9f17eb1550bbf72")
How it ran

no invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We introduce AMDKernelVault, an open HIP and Triton kernel corpus and training framework for recent AMD CDNA GPUs. Existing LLM-based kernel agents are largely CUDA/NVIDIA-centric and often depend on repeated frontier-LLM calls for generation, reflection, and optimization. To address this gap, we develop HIPKernelGen and TritonKernelGen, agent-driven pipelines that transform PyTorch references into HIP or Triton kernels, compile and validate candidates under ROCm, and latency-profile them on AMD hardware. The corpus contains 62,153 execution-verified HIP kernel samples, 2,377 production-grounded ROCm Libraries QA entries, and 39,893 Triton kernels. We further train Qwen3-8B with supervised fine-tuning and execution-aware reinforcement learning as a demonstration of the corpus's utility. Under fixed evaluation budgets, it achieves the highest correctness among the compared models on PyTorch-to-HIP (34.0% Pass@1), TritonBench-G (33.2% Corr@3), and ROCmBench (41.94% Corr@3), but does not uniformly lead compilation or speed metrics. The corpus and documentation are available at https://huggingface.co/datasets/amd/AIG-Datasets, and the associated training and kernel-generation code is available at https://github.com/AMD-AGI/hip_kernel_llm_lab.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2609.12471")
get_code_for_paper("2609.12471")
have("2609.12471")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2609.12471.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2609.12471.svg)](https://syntology.ai/paper/2609.12471)

Connect an agent — have() is free.