Re:ComputeSharp, Run C# on the GPU
by Sergio0694 on Tuesday February 23, 2021 @06:54PM
(#26244692)
I have some more samples in the other folders, and I will also include some snippets in the updated docs (need to finish writing them and include them in the dev branch). Here's a couple examples:
Super simple, complete examples of a shader that just multiplies all items in a buffer by 2: https://github.com/Sergio0694/ComputeSharp/blob/dev/samples/...
Simple naive matrix-multiply-add shader: https://github.com/Sergio0694/ComputeSharp/blob/ada133aacd29...
Let me know if those help, and feel free to ping me on GitHub or in the C# Discord server if you have any issues!