It compiles CUDA (a C++ like language) using LLVM down to host ISA (x86) and virtual low-level NV virtual assembly (SASS&#x2F;PTX). Only translation from virtual assembly to model-specific GPU assembly is left to closed-source NV code.<p>For AMD porting you could possibly use <a href="http:&#x2F;&#x2F;llvm.org&#x2F;docs&#x2F;AMDGPUUsage.html" rel="nofollow">http:&#x2F;&#x2F;llvm.org&#x2F;docs&#x2F;AMDGPUUsage.html</a>