Wednesday, January 15, 2014

MAKING C# RUN ON THE GPU

I just spent the past few hours making a C#/CUDA library.


This library "makes C# run on the GPU".

It takes .net IL and translates it to LLVM through a (admittedly quite feature lacking) compiler written by me. Then, it takes the LLVM bitcode and translates it to NVIDIA PTX. This PTX then can be uploaded to the GPU and executed.

The library is still an extreme work-in-progress, as I have only just started writing it a few hours ago. ...