Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Since ZLUDA was taken down (by request from AMD of all parties), it would be better to have some ZLUDA replacement as a general purpose way of breaking CUDA lock-in. I.e. something not tied to Nvidia hardware.


That's a problem on a different level of the CUDA stack.

Having a compiler that takes a special C++ or python dialect and compiles it to GPU suitable llvm-ir and then to a GPU binary is one thing (and there's progress on that side: triton, numba, soonish mojo), being able to launch that binary without going through the nvidia driver is another problem.


Cannot Vulcan compute be used to execute code on GPU without relying on proprietary libs? Why not?


Vulkan Compute's semantics are limited by SPIR-V and thus cannot implement all of the features CUDA provides (ex. there is no proper notion of a "pointer")

Also it's much more convenient to use plain C++ rather than a custom shading language, especially if you're writing complex numerical code or need some heavy templated abstractions to do powerful stuff. And the CUDA tooling itself is just much easier to use compared to Vulkan, with its seamless integration of host / device code.


You still require a Vulkan driver to do anything with it. Until last year, Nvidia hardware required a proprietary Vulkan driver (prior to Nvvk), and anything pre-Pascal still requires that.


Yes but you can use any GPU with Vulkan, not only NVIDIA.


> [...] there's progress [...]

Don't forget about Julia!


and jax, tinygrad and halide. God it's such an awesome time to be into that stuff.


Yeah, the latter one is more useful for effective lock-in breaking.


> 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 if I understand it correctly there is something in the works

https://github.com/vosen/ZLUDA


Ah, that's good. Hopefully it will get back on track then.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: