Hi Lev, On Tue, 17 May 2011 12:50:35 -0400, Lev Givon <[email protected]> wrote: > Is there a way to access the actual ID of a stream > created with pycuda.driver.Stream? If not, would it be possible to add > such a field to that class? It would be useful for setting the stream > used when calling CUFFT or CUBLAS functions invoked via ctypes.
I'm not sure I understand 100% whether it's a good idea to allow this, but for now there's Stream.handle which should give you a pointer-sized integer containing the stream pointer. For the same reason, I'm leaving this undocumented for now. Andreas
pgpikneiZJnYl.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
