Thanks so much for the explanation. How did you know that Christoph
Gohlke's binary doesn't support CUDA 4.1? How do we know when/if he's
going to update it? I'm hjesitating to build it myself as there may be
further problems. I'd rather wait.


On Fri, Feb 3, 2012 at 2:05 AM, Jonathan WRIGHT <[email protected]> wrote:
> The binary _driver.pyd file is a windows dll and it is linked to dlls with
> specific versions which come from the cuda toolkit. A change of CUDA
> versions means you (or someone) needs to recompile it before it will work
> for CUDA 4.1.
>
> The problem is that pycuda is written in C++ and has to be recompiled from
> the C++ source code to get binaries to match your new CUDA dlls. Patching is
> only needed if there is some problem when you try to build it or run the
> unit tests.
>
> Best
>
> Jon
>
>
>
>
> On 02/02/2012 12:39, Igor wrote:
>>
>> Yes, the binary is from Christoph Gohlke. If nothing changed in my
>> set-up except CUDA from 4 to 4.1 how do I patch pyCUDA to find the new
>> CUDA driver, as I guess that's the problem. I'm not quite sure why we
>> talk about Visual Studio... I have it installed, of course, but I
>> don't understand why it's still needed.
>>
>>
>> On Thu, Feb 2, 2012 at 10:46 PM, Jonathan WRIGHT<[email protected]>  wrote:
>>>
>>> Where do you get your binaries from? The ones from Christoph Gohlke
>>> require
>>> CUDA 4.0, but you have 4.1. I never got a reply on this message about
>>> building on windows x64 when I had 3.2:
>>>
>>> http://thread.gmane.org/gmane.comp.python.cuda/2516
>>>
>>> If that procedure also works for you then maybe we should update the
>>> wiki?
>>> You should just need the 2008 express edition compiler and not the SDK
>>> for
>>> 64-bit. I'm nervous about the "tss" issue which I did not understand.
>>>
>>> Cheers
>>>
>>> Jon
>>>
>>>
>>> On 02/02/2012 10:05, Igor wrote:
>>>>
>>>>
>>>> I just upgraded the driver, toolkit and SDK to CUDA 4.1 (uninstalling
>>>> CUDA 4.0 toolkit and SDK first), PyCUDA stopped working. Upgraded also
>>>> PyCUDA by installing pycuda-2011.2.2.win32-py2.7.‌exe,  same error
>>>> message as below, right at the first line of demo.py "import
>>>> pycuda.driver as cuda" or "from pycuda._driver import *". Restarted,
>>>> no change. I must have forgotten some important step that I should
>>>> re-do to get my set-up working again?
>>>>
>>>> Message File Name       Line    Position
>>>> Traceback
>>>>     <module>
>>>> W:\Programming\CUDA\PyCUDA\pycuda-2011.2.2\examples\demo.py
>>>>     3
>>>>     <module>     C:\Python27\lib\site-packages\pycuda\driver.py  2
>>>>
>>>> exceptions.ImportError: DLL load failed: The specified module could
>>>> not be found.
>>>>
>>>> _______________________________________________
>>>> PyCUDA mailing list
>>>> [email protected]
>>>> http://lists.tiker.net/listinfo/pycuda
>>>>
>>>
>>> _______________________________________________
>>> PyCUDA mailing list
>>> [email protected]
>>> http://lists.tiker.net/listinfo/pycuda
>>
>>
>

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to