News for hackers. Stuff that matters.
Re:The Slang Shading Language by bartwr on Sunday December 01, 2024 @10:25AM (#42288861)
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)

There are no comments on this comment yet.