[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-698136-105":59,"doc-detail-698136-en":130,"doc-similar-698136":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","repo2rocm-agentic-system-for-reproducing-research-code-on-amd-rocm-gpus","Repo2ROCm - Agentic System for Reproducing Research Code on AMD ROCm GPUs","","Machine learning researchers depend on public repositories to evaluate and build on prior work, but reproducing results is difficult when the original code’s software and hardware stack differs. CUDA-based repositories running on AMD GPUs with the ROCm stack may fail or silently fall back to inefficient execution even after installation. Repo2ROCm automatically migrates CUDA-centric repositories to ROCm by reconstructing a compatible environment, patching code, running real workloads, and verifying GPU-backed execution with auditable artifacts.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/repo2rocm-agentic-system-for-reproducing-research-code-on-amd-rocm-gpus/698136/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/repo2rocm-agentic-system-for-reproducing-research-code-on-amd-rocm-gpus/698136.png","ImageObject",300,407,{"name":92,"@type":93},"WHO AM I","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-22","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What reproduction problem does Repo2ROCm address when moving code from CUDA to AMD ROCm?","Question",{"text":112,"@type":113},"It targets functional reproduction, ensuring the intended workload runs on AMD GPUs via ROCm without silently falling back or disabling accelerator-critical components.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does Repo2ROCm provide verification beyond successful installation or smoke tests?",{"text":117,"@type":113},"It reconstructs a ROCm-compatible environment, executes the repository’s real workload, and collects auditable evidence such as environment specifications, source patches, execution logs, and verification artifacts proving accelerator-critical execution.",{"name":119,"@type":110,"acceptedAnswer":120},"Why are general-purpose coding agents insufficient for ROCm migration in this context?",{"text":121,"@type":113},"They may make code appear runnable through path-changing repairs, but they do not guarantee faithful cross-hardware reproduction or provide evidence that the original accelerator-critical execution path still runs.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},698136,1794448710,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},10857686687108,"https://eur-avatar.wpscdn.com/avatar/9e0008edd84b319fe0c?x-oss-process=image/resize,m_fixed,w_180,h_180&k=1794290847020028784","Repo2ROCm: An Agentic System for Reproducing Research Code on  \nAMD ROCm GPUs  \nGaurav Sarkar1,† Umang Pandey2 Pratik Prabhanjan Brahma2 Zicheng Liu2 Emad Barsoum2  \n1IIIT Hyderabad 2Advanced Micro Devices, Inc. (AMD)  \n[gaurav.sarkar@research.iiit.ac.in](gaurav.sarkar@research.iiit.ac.in)[ ](gaurav.sarkar@research.iiit.ac.in){upandey, pprabhan, Zicheng.Liu, [ebarsoum}@amd.com](ebarsoum}@amd.com)  \nAbstract  \nMachine learning practitioners routinely rely on public code repositories accompanying research papers, libraries, and open-source projects to evaluate, baseline, or build upon prior work. Yet getting such repositories to run and reproduce results often involves non-trivial effort, and is especially challenging when the target software and hardware stack differs from the one the original code was developed on. A prominent instance is running repositories originally built for CUDA-enabled hardware on AMD GPUs supporting the ROCm software stack. Here, successful installation alone is not a sufficient signal: a range of subtler issues may cause the code to either fail outright or silently fall back to inefficient execution.  \nWe present Repo2ROCm, an agentic system that migrates CUDA-centric ML repositories to ROCm in an automated manner. Repo2ROCmreconstructs a ROCm-compatible environment, adapts hardware-specific assumptions, executes a real workload, and confirms GPU-backed execution emitting auditable artifacts at every step (environment specs, source patches, execution logs, and verification evidence) . We evaluate on ResearchBench, 60 repositories belonging to recent papers from top AI conferences. While only 18/60 run out of the box, Repo2ROCm reaches verified functional reproduction for 59/60 (3.3 × improvement) . Against popular general-purpose coding agents on a curated ten-repository diagnostic set (with all agents using the same Claude Sonnet 4 backbone), Repo2ROCm achieves the highest Portability Fidelity Score (PFS), a measure of how faithfully a run preserves the accelerator-critical execution path, real workload, and verified environment, scoring 77.3 vs. 61.4 (Claude Code), 58.7 (Mini-SWE-Agent), and 40.3 (Cursor Agent) . Code and artifacts are available at [github.com/Gaurav7888/Repo2ROCm](github.com/Gaurav7888/Repo2ROCm).  \n†Work done when the author was affiliated with AMD.  \n1 Introduction  \nFor industry AI teams, public ML repositories are often the first artifact used to decide whether a new method is worth adopting, but running those offthe-shelf repositories reliably is rarely just a cloneand-execute exercise. In practice, it often takes quite a bit of manual time and effort to integrate and reproduce. Failures arise at two levels: first, reconstructing the repository’s intended software and experimental setup; second, moving that setup onto a different accelerator platform.  \nTier 1: Reproducibility challenge. Evaluating a public ML repository begins with a practical question: can the code run reliably in our environment? This is often non-trivial because research repositories frequently have stale setup instructions, conflicting dependency files, version mismatches, implicit entry points, missing external artifacts, and experiment scripts tied to the authors’ local environment.  \nTier 2: Cross-hardware platform migration.  \nThe challenge deepens when the repository assumes one accelerator stack but the target hardware uses another. For CUDA-centric repositories evaluated on AMD ROCm, migration requires selecting a compatible software stack, replacing or rebuilding CUDA-specific dependencies, and adapting source-level hardware assumptions such as device checks, custom kernels, and backendspecific libraries. These changes must preserve the repository’s execution path: the model, workload, accelerator backend, GPU-critical libraries, kernels, and device placement used at runtime. A repository that runs only after disabling acceleratorcritical components, substituting a degraded or inefficient backend,","cbCaiifLS1jt0O85","https://ap.wps.com/l/cbCaiifLS1jt0O85","pdf",1593467,14,"English","# Abstract\n# Introduction\n## Reproducibility challenge\n## Cross-hardware platform migration\n## Why existing agents are insufficient\n## Evidence-gated migration and verification","[{\"question\":\"What reproduction problem does Repo2ROCm address when moving code from CUDA to AMD ROCm?\",\"answer\":\"It targets functional reproduction, ensuring the intended workload runs on AMD GPUs via ROCm without silently falling back or disabling accelerator-critical components.\"},{\"question\":\"How does Repo2ROCm provide verification beyond successful installation or smoke tests?\",\"answer\":\"It reconstructs a ROCm-compatible environment, executes the repository’s real workload, and collects auditable evidence such as environment specifications, source patches, execution logs, and verification artifacts proving accelerator-critical execution.\"},{\"question\":\"Why are general-purpose coding agents insufficient for ROCm migration in this context?\",\"answer\":\"They may make code appear runnable through path-changing repairs, but they do not guarantee faithful cross-hardware reproduction or provide evidence that the original accelerator-critical execution path still runs.\"}]","Repo2ROCm - Agentic System for Reproducing Research Code on AMD ROCm GPUs | PDF",35,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/a0b0f54b6ef8027b483658ea37ea5d14.webp",983,1390,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/76752f4c722d3a376af826a668c91196.webp",982,1388,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/d34af7cfb17add3031df8d42c7e8e37b.webp",981,1387,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/477423597db0912f7805266ecd40929e.webp",980,1385,{"list":163,"token":66},[164,170,176,183,190,197,204,211,218,225],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":24,"category_name":40,"create_tm":169},698894,"Taking GPU Programming Models to Task for Performance Portability - International Conference on Supercomputing (ICS ’25)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010468134/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=sh100mzDIIjaF%2FoGanPB6je6%2BXM%3D","taking-gpu-programming-models-to-task-for-performance-portability-international-conference-on-supercomputing-ics-25",1794456534,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":19,"category_name":40,"create_tm":175},698132,"Taking GPU Programming Models to Task for Performance Portability","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010206041/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=jVDil4Zd4nqVtNkFh7%2B3qqZ18rc%3D","taking-gpu-programming-models-to-task-for-performance-portability",1794448701,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":40,"create_tm":182},85011,"From Custom-Fit to Portable: Bridging the Gap Between Synthesized and Engineered GPU Query Execution","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809232499/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=U83GS5sUG2n55HBFm4tlyuxNwvk%3D","from-custom-fit-to-portable-bridging-the-gap-between-synthesized-and-engineered-gpu-query-execution",32,1784200241,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":40,"create_tm":189},86082,"IRONSmith: A Visual Dataflow Design Environment for AMD Ryzen AI NPUs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809377105/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=fLuLmpOW1cVQxpx%2BlAs%2BKGPK4ww%3D","ironsmith-a-visual-dataflow-design-environment-for-amd-ryzen-ai-npus",29,1784208402,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":40,"create_tm":196},457791,"A Python-based flow solver for numerical simulations using an immersed boundary method on single GPUs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925380123/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=ODX6sjNPyNDm6NhNmLiUmLvtdLE%3D","a-python-based-flow-solver-for-numerical-simulations-using-an-immersed-boundary-method-on-single-gpus",13,1790750479,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":40,"create_tm":203},84658,"ETALE: Evolving Topology with Accelerated Lock-free Execution for Dynamic Graph ANN Search on GPUs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809194927/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=VZCPQNmQ3twRwMedoqhzPg%2FxqkE%3D","etale-evolving-topology-with-accelerated-lock-free-execution-for-dynamic-graph-ann-search-on-gpus",27,1784197525,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":40,"create_tm":210},85982,"A Reproducible Software Workflow for Unanchored Approximate MUB Optimization: A Case Study in Dimension Six","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809369770/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=TDGITuQhpbJo6mOytfgP51Brs1w%3D","a-reproducible-software-workflow-for-unanchored-approximate-mub-optimization-a-case-study-in-dimension-six",23,1784207557,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":40,"create_tm":217},117128,"opML - Optimistic Machine Learning on Blockchain - Fraud Proof Interactive Protocol","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834455675/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=sMoAxXc9jUTuieSawrjJTOMdoIg%3D","opml-optimistic-machine-learning-on-blockchain-fraud-proof-interactive-protocol",24,1785674028,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":223,"category_name":40,"create_tm":224},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=Z%2FwTsWSNhNUrNijokUIeEAQNGEs%3D","xnx-gas-detector-calibration-2023",7896,1776136863,{"doc_id":226,"doc_title":227,"file_type":137,"home_preview_img_url":228,"slug":229,"view_count":230,"category_name":40,"create_tm":231},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110079&Signature=tCgleowfnO35JOtmBUNKHMJOgR4%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",6933,1776136851]