mikex86 / LibreCuda

MIT License
968 stars 37 forks source link

"Impersonate" CUDA Driver Like SCALE #18

Open TheFloatingBrain opened 1 day ago

TheFloatingBrain commented 1 day ago

Any plans to be a drop in replacement for CUDA drivers like SCALE can?

SCALE has several key innovations compared to other cross-platform GPGPU solutions:

    * SCALE accepts CUDA programs as-is. No need to port them to another language. This is true even if your program uses inline PTX asm.
    * The SCALE compiler accepts the same command-line options and CUDA dialect as nvcc, serving as a drop-in replacement.
    * "Impersonates" an installation of the NVIDIA CUDA Toolkit, so existing build tools and scripts like cmake just work.
mikex86 commented 20 hours ago

The goal of LibreCUDA is not to full-on impersonate a Cuda installation, but it is something you can statically link against and the resulting application will have zero runtime dependencies. No cuda installation required.