cross-posted from: https://lemm.ee/post/38967838

Back in February of this year you may recall the interesting news that was announced on Phoronix that 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. 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.

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 vosen/ZLUDA while we are eager to see its future direction.

    • wiki_me@lemmy.ml
      link
      fedilink
      English
      arrow-up
      30
      arrow-down
      1
      ·
      3 months ago

      There is a fairly active fork already . We well see what he will do. AMD saying it is not legally binding despite him signing a contract sounds like BS. Consulting the software freedom law center or some other non profit might be worth while.

      • bitfucker@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 months ago

        Yeah, that is the only weird part about it. I think AMD is cooking up something right now behind the curtain. Whether that something is good or bad we don’t know yet but so far it does not look good.

  • yu_cosmic@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    44
    arrow-down
    1
    ·
    3 months ago

    ZLUDA being 6 months open source before it was taken down gives me hope that the project might probably be forked into something else or in the same path as originally intended

  • mogoh@lemmy.ml
    link
    fedilink
    English
    arrow-up
    37
    ·
    3 months ago

    Can someone explain the motivation of AMD? Why abandon it? Why 6 month later depublishing it? Why not embracing it? Why? (Please no sarcasm)

    • SomeGuy69@lemmy.world
      link
      fedilink
      English
      arrow-up
      30
      ·
      edit-2
      3 months ago

      I only see them adding more reverse engineered code that they don’t want to see public, until they solved the legal issues. Maybe they’ll release a ZLUDA version soon that’s competing performance wise and an open source version later? But whatever it is, AMD is leaving the playing field to Nvidia since 2007, so there might actually be no logical reason at all for this move.

    • gazby@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      3 months ago

      Because they will forever be chasing Nvidia, bound to their development decisions & direction choices, compatibility a constant issue, swimming in some pretty murky legal waters, all to run slower than Nvidia’s cards for the same workloads. Admittedly I don’t see AMD doing much of what’s actually needed either, but alas this was never it anyway 🙁

  • rdri@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    3 months ago

    We need that in order to preserve those terrible implementations of physx etc. in older games that look even more terrible with them disabled. Hope the work is continued.