3 ms·
Take a look at ILGPU. It's very nice and has been around for a long time! (just no one knows about it, sadly) Short example: https://github.com/m4rs-mt/ILGPU/b
by neonsunset 2y ago
Take a look at ILGPU. It's very nice and has been around for a long time! (just no one knows about it, sadly)
Short example: https://github.com/m4rs-mt/ILGPU/blob/master/Samples/SimpleMath/Program.cs https://github.com/m4rs-mt/ILGPU/blob/master/Samples/SimpleM...
Supports even advanced bits like inline PTX assembly: https://github.com/m4rs-mt/ILGPU/blob/master/Samples/InlinePTXAssembly/Program.cs https://github.com/m4rs-mt/ILGPU/blob/master/Samples/InlineP...