ROCmPorter Agent — CUDA to ROCm

Created by team HACKER_IS_BACK on July 07, 2026
Unicorn Track

ROCmPorter Agent turns CUDA lock-in into a verifiable migration path to AMD ROCm. Most AI and HPC projects are built around NVCC, CUDA headers, nvidia/cuda containers, and CUDA-only Python wheels. Teams that want to move to AMD hardware face two problems: they can't see which files actually block the port, and they can't trust raw LLM-generated migration patches, which routinely hallucinate APIs and break builds. ROCmPorter solves both. The workflow has five reviewable steps. Scan: clone any public or private GitHub repository and detect CUDA/NVIDIA assumptions with a deterministic, evidence-driven scanner — every finding cites a concrete file and line with severity and confidence. Report: get a ROCm portability score, an executive summary, and a migration checklist. Patch: generate a single-file ROCm review artifact using local Ollama with qwen2.5-coder — no paid cloud LLM API, so private code never leaves the machine. Verify: every artifact passes syntax validation, source drift checks, diff replay, artifact hashing, and CUDA/ROCm-aware semantic risk scoring. Apply stays gated until verification returns applyReady=true — the product is honest about what AI output can and cannot be trusted to do. Export: offline HTML/JSON/Markdown bundles, checksummed zips, and GitHub-ready PR review comments with inline suggestions. The proof is tracked in the repo: benchmark run submission-proof-v2 completed 3/3 cases against real repositories (pytorch/extension-cpp, NVIDIA/cuda-samples) with 3 export-ready review artifacts, 0 failures, and 0 high-risk patches. Stack: React + Vite frontend, FastAPI backend, local Ollama. Live demo hosts the production UI — click "Load Sample Scan" for the full offline judge flow. Built by Team Hacker Is Back for the AMD Developer Hackathon ACT II, Unicorn Track.

Category tags: