Get the latest tech news
New "SCALE" Software Allows Natively Compiling CUDA Apps For AMD GPUs
While there have been various efforts like HIPIFY to help in translating CUDA source code to portable C++ code for AMD GPUs and then the previously-AMD-funded ZLUDA to allow CUDA binaries to run on AMD GPUs via a drop-in replacement to CUDA libraries, there's a new contender in town: SCALE
SCALE is a "clean room" implementation of CUDA that leverages some open-source LLVM components while forming a solution to natively compile CUDA sources for AMD GPUs without modification -- a big benefit over alternative projects that only assist in code translation by transpiling to another "portable" language or other manual developer steps being involved. SCALE has been successfully tested with software like Blender, Llama-cpp, XGboost, FAISS, GOMC, STDGPU, Hashcat, and even NVIDIA Thrust. Those wishing to learn more about this very promising SCALE effort for compiling and running CUDA codes on AMD GPUs can see the announcement on scale-lang.com.
Or read this on Phoronix