Hacker News new | past | comments | ask | show | jobs | submit login

If your algorithm is well parallelized, sure! Even a mobile GPU would likely be much faster in things such as image processing or other general purpose shaders than trying to run those on the CPU (which especially on mobile is likely not to be very performant).

If you wanted to try, you can clone the repository (make sure to be in the dev branch!) and then run the Benchmark project, which will show you some baseline difference in speed between the CPU and the GPU for some example algorithms. Let me know how it goes!




Thanks for the reply! I will check this out. My potential use case is actually audio processing, I’ll let you know how it goes!


Awesome! If you find any particular problems feel free to open an issue on the repo (or ping me in the C# Discord server). Do make sure to grab one of the latest ComputeSharp 2.0 packages from the CI though and not the ones on NuGet, those are still with the old 1.x version, I plan to update them in the coming weeks! Also remember to have a look at the various samples in the repo if you want some general reference as to what kind of operations can be done with the library. Cheers!


I thought most audio DSP/VSTs don't use GPGPU because of the latency. It is rare CUDA or similar is required, if ever.




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

Search: