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

Will Slang support compute shaders too, or is it just for graphics.


It does! Both platform-specific compute shaders as well as cross-compilation to CUDA. The authors even provide some basic PyTorch bindings to help use existing shader code for gradient computation and backpropagation in ML and differentiable programming of graphics-adjacent tasks: https://github.com/shader-slang/slang-torch (Disclaimer: this is the work of my colleagues, and I helped test-drive differentiable Slang and wrote one of the example applications/use-cases)


It's compute also, though that may depend on the target language.




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

Search: