It’s not a typo. CUDAfy.net is an awesome library for C# programmer to write OpenCL code. As surveying OpenCL libraries, we found a good library for beginners. Since John Hu work with a junior programmer who can only program .net framework, we start to survey a tool to for a .net programmers. CUDAfy.net is the one. It translates .net framework bytecode to CUDA and OpenCL. We can use it to generate OpenCL source code from .net framework bytecode. That means you can write an OpenCL program in C#/VB.net. It’s awesome. And the most awesome part is that CUDAfy.net is open sourced at here.

Let’s see an very simple example. You may find the following code which calcualte the moving average in C#:

the c# code for cudafy
the c# code for cudafy

CUDAfy.net translate it to:

the opencl code generated by cudafy
the opencl code generated by cudafy

Centered Square Box in CSS

How to create a centered square box only with CSS? Continue reading

How to Add a Web as Application at Windows?

Published on August 11, 2019

Let's Meet at PyCon 2017 Taiwan

Published on May 09, 2017