this post was submitted on 09 Aug 2024
234 points (99.6% liked)

Open Source

31396 readers
85 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

LibreCUDA is a project aimed at replacing the CUDA driver API to enable launching CUDA code on Nvidia GPUs without relying on the proprietary CUDA runtime. It achieves this by communicating directly with the hardware via ioctls, (specifically what Nvidia's open-gpu-kernel-modules refer to as the rmapi), as well as QMD, Nvidia's MMIO command queue structure. LibreCUDA is capable of uploading CUDA ELF binaries onto the GPU and launching them via the command queue.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 3 months ago (1 children)

Hopefully they have better defenses against legal action from Nvidia than ZLUDA did.

In the past, re-implementing APIs has been deemed fair use in court (for example, Oracle v Google a few years back). I'm not entirely sure why ZLUDA was taken down; maybe just to avoid the trouble of a legal battle, even if they could win. I'm not a lawyer so I can only guess.

Validity aside, I expect Nvidia will try to throw their weight around.

[–] [email protected] 5 points 3 months ago (1 children)

IIRC it wasn't legal action from Nvidia, but rather AMD pulling the funding that killed ZLUDA.

[–] [email protected] 1 points 3 months ago

Yeah that is often the issue.

It is rare a single company owns all the IP on code. So its common that companies are not releasing code because they cannot.