Re: [PyCUDA] mac64 PyCUDA

2010-09-20 Thread MinRK
? -MinRK On Mon, Sep 20, 2010 at 08:34, Bryan Catanzaro catan...@eecs.berkeley.eduwrote: I think it should be changed to check to see if the Python interpreter is currently running in 32 bit mode, and then compile to match: if 'darwin' in sys.platform and sys.maxint == 2147483647

Re: [PyCUDA] mac64 PyCUDA

2010-09-20 Thread MinRK
Okay, with a tiny tweak to compiler.compile, I have UB pycuda working in both 64 and 32-bit. All I did was tell compile() to add '-m64' to options if it detects 64-bit mode, in the same way as Bryan's trick. I pushed a branch with the patch to my GitHub: http://github.com/minrk/pycuda, as well

[PyCUDA] installed_path incorrect in pycuda/compiler.py

2010-04-01 Thread MinRK
/include/pycuda, which is incorrect. adding three more .. fixes the location: installed_path = join(pathname, .., .., .., .., include, pycuda) and everything works once I add that patch. -MinRK ___ PyCUDA mailing list pyc...@host304.hostmonster.com http