Problem
HIPIFY could preserve includes for cuda/barrier, cuda/pipeline, cuda/semaphore and cuda/ptx without warning that AMD libhipcxx does not support these features. This hides a known incompatibility until downstream compilation.
Engineering change
A focused candidate patch adds conversion-time warnings in both hipify-perl and hipify-clang, preserving source includes while helping engineers identify portability work earlier.
Verified results
The original baseline-versus-patch reproducer cases show the expected warning in the candidate and no warning in the baseline. Supported-header controls remain warning-free.
Test evidence: candidate 150/150 passing in the filtered LLVM lit suite, compared with upstream baseline 149/149. The full test comparison also documents the same pre-existing cuDNN synthetic failure in both revisions (candidate 150/151; baseline 149/150).
Verified test environment
Developed and tested on AMD Ryzen AI MAX+ 395 / Radeon 8060S, Linux under Docker/WSL2, CUDA 12.8.93 and LLVM 20.1.2. The tests cover source-conversion warnings and controls; the original reporter environment is a separate upstream qualification target.
Publication status
Locally qualified candidate: portable source patch and hashed evidence logs retained for upstream review and independent reproduction. The full white paper is now published on Zenodo (DOI 10.5281/zenodo.24230766).
Original upstream GitHub issue #2811 · AMD libhipcxx API limitations
Author: Nigel Hutchinson / NH Applied. Report: version 1.0, 14 November 2026.