Hi, * Andreas Kl?ckner <[email protected]> [2009-12-21 19:00:41 -0500]:
If you use Boost.Python to do your C/Python integration, this could be easily achieved. PyCUDA would need to install its header file src/cpp/cuda.hpp. Then you could simply "return new cuda::device_allocation(address);" and off you go. Let me know if you want that, I can add it with relative ease.
I haven't used Boost.Python before and I get seg faults within Python while trying to load my module, but it seems to work (as in, it compiles fine). Thanks for the quick response, and I will let you know how it turns out. nick _______________________________________________ PyCUDA mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
