Radeon Open Compute’s ZLUDA Implementation
There has been a bit of news lately about how AMD developed a way to implement CUDA on Radeon GPUs, though some of the headlines are a bit more exciting than the actual capabilities of ZLUDA. Andrzej Janik worked at Intel for several years, working on a way to implement CUDA platform on Intel silicon. He and his team were successful and ZLUDA was born, although not adopted by Intel. When he left Intel in 2022 he was contracted by AMD to implement ZLUDA for use on AMD GPUs with HIP/ROCm. This project was to be kept quiet, so no code was posted to Github until AMD also chose not to adopt ZLUDA.
Part of the agreement with AMD was that if they did not adopt ZLUDA, Andrzej would be allowed to release it as open source code, which is where all the headlines of the past couple of days came from. Phoronix have been taking a deep look at ZLUDA and have found there are some current limitations such as the fact it runs on the older ROCm 5.x API and not the newest version. That said, when running benchmarks that are CUDA aware, AMD RDNA2 GPUs do certainly see a boost in performance, sometimes an impressive one.
There is no question this is an impressive example of coding skills, enabling both Intel and AMD GPUs to run CUDA is no mean feat. The problem is that both Intel and AMD have their own solutions they would like to see compete with CUDA. NVIDIA also has a huge advantage, as their hardware is specifically developed to optimize CUDA instructions, and they are the owners of it as well. What will be interesting is to see what the public does with ZLUDA now that it is open source.
The ZLUDA implementation though isn't 100% fail-safe as NVIDIA OptiX support not being fully supported and some features such as software not using PTX assembly code isn't currently handled. But for the most part this implementation is surprisingly capable for being a single developer effort.
More Tech News From Around The Web
- Broadcom terminates VMware’s free ESXi hypervisor @ The Register
- Apple Pushes Back On Right To Repair Bill Due To Parts Pairing @ Hackaday
- Microsoft might have just pulled support for very old PCs in Windows 11 24H2 @ The Register
- Ubuntu ‘command-not-found’ tool can be abused to spread malware @ Bleeping Computer
- Hackers used new Windows Defender zero-day to drop DarkMe malware @ Bleeping Computer
- Wi-Fi Jamming To Knock Out Cameras Suspected In Nine Minnesota Burglaries @ Slashdot
- DuckDuckGo’s browser adds encrypted, privacy-minded syncing and backup @ Ars Technica
- ALPHV blackmails Canadian pipeline after ‘stealing 190GB of vital info’ @ The Register
- Elgato Facecam Pro Review (vs a £650 Sony camera!) @ Kitguru