News: 0001483801

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Open-Source AMD GPU Implementation Of CUDA "ZLUDA" Has Been Taken Down

([Radeon] 83 Minutes Ago Open-Source AMD CUDA)


Back in February of this year you may recall the interesting news that was announced on Phoronix that [1]AMD Quietly Funded A Drop-In CUDA Implementation Built On ROCm: It's Now Open-Source . That open-source ZLUDA code for AMD GPUs has been available since AMD quit funding the developer earlier this year. But now the code has been retracted. It's not from NVIDIA legal challenges but rather AMD reversing course on allowing it to be open-source.

As explained in that article earlier in the year, AMD had quietly funded the ZLUDA developer Andrzej Janik to bring his CUDA-compatible implementation to AMD GPUs and atop the ROCm software stack. [2]ZLUDA start off originally as an open-source CUDA implementation for Intel graphics built atop the Level Zero (hence the ZLUDA name) software stack. While working on ZLUDA, he got it working out rather nicely and various CUDA applications running seamlessly on AMD GPUs as shown and benchmarked in my prior article. But then AMD decided to quit funding the project.

The agreement was reportedly that if/when the contract ended, the ZLUDA code could be open-sourced. That's what happened back in February. But now that code has been retracted from the official public GitHub repository. It's not from legal threats from NVIDIA as one might imagine given its working to support CUDA on non-NVIDIA hardware, but rather from AMD itself.

Andrzej Janik updated the GitHub repository a few minutes ago with the message:

IMPORTANT

What happened

The code that was previously here has been taken down at AMD's request. The code was released with AMD's approval through an email. AMD's legal department now says it's not legally binding, hence the rollback. Before anyone asks: I have received no legal threats or any communication from NVIDIA.

What now

At this point, one more hostile corporation does not make much difference. I plan to rebuild ZLUDA starting from the pre-AMD codebase. Funding for the project is coming along and I hope to be able to share the details in the coming weeks. It will have a different scope and certain features will not come back. I wanted it to be a surprise, but one of those features was support for NVIDIA GameWorks. I got it working in Batman: Arkham Knight, but I never finished it, and now that code will never see the light of the day:

So six months after the code was made public as open-source, at the request of AMD's legal department, that ZLUDA code has now been removed. Though given it's Git and may have been cloned, the open-source code likely exists elsewhere by those that were intrigued by this effort.

[3]

Janik also noted in his announcement that he had a NVIDIA GameWorks implementation working on AMD GPUs but sadly that code will now never be open-sourced.

Andrzej Janik notes he wants to "rebuild ZLUDA" moving forward and is working on project funding. What wasn't clear from his message whether this means a new ZLUDA focused on the original Intel GPU plans or a new clean sheet design for AMD GPUs. When I asked Janik about it, he's still exploring options.

It will be very interesting to see where ZLUDA goes from here but disappointing that the prior open-source code has been retracted. The GitHub repository is at [4]vosen/ZLUDA while we are eager to see its future direction.



[1] https://www.phoronix.com/review/radeon-cuda-zluda

[2] https://www.phoronix.com/search/ZLUDA

[3] https://www.phoronix.com/image-viewer.php?id=2024&image=amd_zluda_down_lrg

[4] https://github.com/vosen/ZLUDA



Weasel

ThomasD

V1tol

sophisticles

duby229

sophisticles

varikonniemi

billyswong

billyswong

The magician is seated in his high chair and looks upon the world with favor.
He is at the height of his powers. If he closes his eyes, he causes the world
to disappear. If he opens his eyes, he causes the world to come back. If
there is harmony within him, the world is harmonious. If rage shatters his
inner harmony, the unity of the world is shattered. If desire arises within
him, he utters the magic syllables that causes the desired object to appear.
His wishes, his thoughts, his gestures, his noises command the universe.
-- Selma Fraiberg, _The Magic Years_, pg. 107