[PyCUDA] possible bug ?
Andreas Klöckner
lists at informa.tiker.net
Mon Mar 1 11:48:05 PST 2010
On Montag 01 März 2010, Fabrizio Milo aka misto wrote:
> I get strange errors on my macbook pro with the 3.0 Cuda
> I think there is an error invoking get_version should be get_version()
>
> diff --git a/pycuda/compiler.py b/pycuda/compiler.py
> index 140a098..0c13cf2 100644
> --- a/pycuda/compiler.py
> +++ b/pycuda/compiler.py
> @@ -195,7 +195,8 @@ class SourceModule(object):
> arch, code, cache_dir, include_dirs)
>
> from pycuda.driver import get_version
> - if get_version < (2,2,0):
> +
> + if get_version() < (2,2,0):
> # FIXME This is wrong--these are per-function attributes.
> # Remove this in 0.94.
> def failsafe_extract(key, cubin):
Good catch. What kind of error are you getting?
My favorite way of fixing this would be releasing 0.94 soon because it
simply eliminates this code. If you need this sooner and/or on the 0.93
branch, please let me know.
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20100301/924d56ed/attachment-0001.pgp>
More information about the PyCUDA
mailing list