ComputeSharp 2.0 – run C# on the GPU with ease (sergiopedri.medium.com) 49 points by benaadams 3y ago ↗ HN
[–] drunkenmagician 3y ago ↗ This is very cool! I hope this code get supporting in Unity / Godot and better still gets some (financial) love too.
[–] rkagerer 3y ago ↗ I'd love to see some examples for non-graphics applications if applicable (eg. use a shader to do some kind of more general parallel compute task). [–] techdragon 3y ago ↗ Came to check this exact use case out... sad to hear there's no examples yet.
[–] techdragon 3y ago ↗ Came to check this exact use case out... sad to hear there's no examples yet.
[–] fxtentacle 3y ago ↗ At first I was skeptical if this can work, because GPU and CPU are quite different architecturally.. But this is what's powering Paint.NET 5.0 and the benefit appears to be that you have GPU acceleration with an easy CPU fallback.
[–] pjmlp 3y ago ↗ I really like this kind of projects, because they broaden the access to GPGPU programming beyond the usual ones (C, C++, Fortran, shader languages).Kudos for going at it.
[–] ttoinou 3y ago ↗ Nice! Wondering about the perf impact, but I guess if the developer isnt using too crazy data structures, the HLSL generated should be similar
[–] ttoinou 3y ago ↗ Just realized it would enable better debugging and better support for running the same on CPUs multi threaded too ! Nice !
7 comments
[ 2.9 ms ] story [ 22.9 ms ] threadKudos for going at it.