On Samstag 21 Februar 2009, Nicholas S-A wrote:
> The only problem is that I am printing status information, and
> prepared_async_call() doesn't actually return a zero-tuple as far as I
> can tell. Is this improved in 0.92? I am currently running 0.91 and
> don't want to go through more upgrade headache if it isn't going to add
> anything for me ;)

Whoops, that was a doc bug in prepared_async_call. It's supposed to return 
None. (And that is and has been the behavior of the code.) If you want the 
timing function that the docs used to promise--that's what 
prepared_timed_call() is for. :) That had a doc bug, too--it doesn't take a 
'stream' parameter. (If you need timing *and* streams, you can easily build 
that yourself from Events and prepared_async_call--look at the implementation 
to see how it's done.) I've fixed all the doc bugs.

Regarding fear of upgrades: Use a disposable virtualenv.

Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyCuda mailing list
PyCuda@tiker.net
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to