PaintLab / ispc_experiment

Experiment about C# tool chain for Intel® ISPC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ispc_experiment

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 )

  1. this C# toolchain sends input .ispc code to ispc.exe => output c-header and object file

  2. 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.

  3. then toolchain gathers input c-header and autogen c code and create => output .vcxproj project on the fly.

  4. the toolchain sends input .vcxproj project to MSBuild.exe => output native dll

  5. 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...

test_mandelbrot

mandelbrot example

ao

ao example

Just Experiment!, Not complete

LICENSE: MIT

About

Experiment about C# tool chain for Intel® ISPC

License:MIT License


Languages

Language:C# 79.9%Language:C++ 20.1%