What does HackerNews think of HIPIFY?

HIPIFY: Convert CUDA to Portable C++ Code

Language: C++

Right. I can't speak to its correctness/completeness as I've only done a quick installation and smoke test of the ROCm/HIP/MIOpen stack, but there's even a tool that automates the translation [1].

[1] https://github.com/ROCm-Developer-Tools/HIPIFY

From https://news.ycombinator.com/item?id=32904285 re: AMD ROcm, HIPIFY, :

> AMD ROcm supports Pytorch, TensorFlow, MlOpen, rocBLAS on NVIDIA and AMD GPUs: https://rocmdocs.amd.com/en/latest/Deep_learning/Deep-learni... [...]

> ROCm-Developer-Tools/HIPIFY https://github.com/ROCm-Developer-Tools/HIPIFY :

>> hipify-clang is a clang-based tool for translating CUDA sources into HIP sources. It translates CUDA source into an abstract syntax tree, which is traversed by transformation matchers. After applying all the matchers, the output HIP source is produced. [...]

From https://github.com/RadeonOpenCompute/clang-ocl :

> RadeonOpenCompute/OpenCL compilation with clang compiler