Andrzej Janik’s Project To Bring ZLUDA to Radeon GPUs

Source: Phoronix Andrzej Janik’s Project To Bring ZLUDA to Radeon GPUs

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.

Video News

About The Author

Jeremy Hellstrom

Call it K7M.com, AMDMB.com, or PC Perspective, Jeremy has been hanging out and then working with the gang here for years. Apart from the front page you might find him on the BOINC Forums or possibly the Fraggin' Frogs if he has the time.

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Podcasts

Archive & Timeline

Previous 12 months
Explore: All The Years!