Re:VUDA: A Vulkan Implementation of CUDA
by scienceplease on Sunday July 02, 2023 @07:33AM
(#36560440)
This is really amazing work! Is it still ongoing/funded?
Yes, though with caveats. The driver and parts of the extended API we used to lower CUDA calls are in upstream LLVM. The wrapper headers are not.
We will continue the process of getting it all to work in upstream/vanilla LLVM soon though. Help is always appreciated.
FWIW, we have some alternative ideas on how to get out of the vendor trap, as well as some existing prototypes to deal with things like CUBLAS and Thrust. Feel free to reach out, or just keep an eye out.
TLDR; If you provide even more functions through the overloaded headers, incl. "hidden ones", e.g., `__cudaPushCallConfiguration`, you can use LLVM/Clang a CUDA compiler and target AMD GPUs, the host, and soon GPUs of two other manufacturers.