Need a mechanism to JIT C++/SIMD intrinsics
Per discussion with @tpopovici, the JIT tool from Intel is still immature. So we will not use it.
Pybind11 seems to be the choice now since the package is mature and well maintained. @yhtang have already done some work on JIT with pybind11. The code can be found in the files below:
- Compilation command assembly: graphdot___init__.py
- Template C++ file: graphdot_flavor__kronecker_sqexp.cu
- Makefile for testing pybind11 compilation: graphdot_flavor_Makefile.txt
- JIT with pybind11 and import as module: graphdot_flavor_kronecker_sqexp.py
@tpopovici The task now is to port the above code into GraphDot. Please use graphdot/avx
as home to things that you add.
Edited by Yu-Hang "Maxin" Tang