I tried your patch and everything now works great! Note that I
downloaded the latest version from git which included your patch.
There are a couple of problems otherwise:
compiler.py -- the function _find_pycuda_include_path does not find the
include path correctly on my Windows machine. I had to hard wire it as
line 151: installed_path = 'C:\\Python26\\include\\pycuda'
Also, I am using Microsoft Visual Studio 2008 and evidently there is no
'warning' preprocessor command which causes lines 31 -- 43 in cuda.hpp
to fail. The solution is to simply comment out that block.
Otherwise, everything built without too much trouble.
I continue to test and study the examples.
Thanks again for your great work!
On 3/27/2010 9:25 PM, Catalin Patulea wrote:
Sorry to butt in..
Reckoner, can you try again after applying the attached patch? It
should address the "invalid image" errors.