Experiment about C# tool chain for Intel® ISPC
see more about ISPC at https://ispc.github.io/ispc.html
Concept:
This C# tool chain will ... ( see the code )
-
this C# toolchain sends input .ispc code to ispc.exe => output c-header and object file
-
then the toolchain reads input c-header (and parse it)=> output c-code binding ("extern C {" code for a new native dll)
AND C# extern code ([DllImport]) for binding with the new dll.
-
then toolchain gathers input c-header and autogen c code and create => output .vcxproj project on the fly.
-
the toolchain sends input .vcxproj project to MSBuild.exe => output native dll
-
the rest is loading that dll, and the C# code will access native func dll from extern code that are generated on step 2
Some outputs from the examples...
mandelbrot example
ao example
Just Experiment!, Not complete
LICENSE: MIT