2014-02-09から1日間の記事一覧
This template would be greatly helpful to whoever want to integrate python and cpptest.cu #include <iostream> namespace test { namespace cuda { extern "C" void hello() { std::cout << "Hello" << std::endl; } }} test.cpp #include <boost/python.hpp> #include <numpy/arrayobject.h> using name</numpy/arrayobject.h></boost/python.hpp></iostream>…