Andreas,
It looks like that conditional works for me just fine! I saw that referenced
in the previous thread
(http://lists.tiker.net/pipermail/pycuda/2011-February/002897.html), but wasn't
able to figure out how it plugged into the python code. I had build my pycuda
from the 0.94.2 source code in the tarball, so maybe I didn't have the latest
version that included this conditional. After reading Chrisoph's reply, that
may be the case.
In any event, you guys are on top of this - no surprise there!
thanks!
Mike
________________________________
From: Andreas Kloeckner <li...@informa.tiker.net>
To: Mike Tischler <mikethesoils...@yahoo.com>; "pycuda@tiker.net"
<pycuda@tiker.net>
Sent: Tuesday, April 19, 2011 2:38 PM
Subject: Re: [PyCUDA] invalid image - Windows Server 2008 64bit
On Tue, 19 Apr 2011 08:20:10 -0700 (PDT), Mike Tischler
<mikethesoils...@yahoo.com> wrote:
> Sorry - I solved my own problem.
>
> In the SourceModule class of compiler.py I changed the option parameter from
> options=[] to options=['-m32'].
Can you suggest a conditional based on which we could add this option
automatically?
Why wouldn't this conditional:
https://github.com/inducer/pycuda/blob/master/pycuda/compiler.py#L240
have worked for you?
Andreas
_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda