On Sonntag 29 März 2009, Siddhardh chandra wrote:
> I took care of that fact when I did it :P . I was able to fix the
> problem though. I dont know why, but the error occured when I replaced
>
> /import pycuda.driver as cuda
> import //pycuda.autoinit
> /
>
> *with *
>
>
> /import pycuda.driver as cuda
> import pycuda.autoinit
>
> cuda.init()
> assert cuda.Device.count() >= 1
>
> dev = cuda.Device(0)
> ctx = dev.make_context()/
>
> Is this a bug or did I miss something in the above?

In the latter case, you're initializing CUDA twice, which might reset any 
profiling settings. Since there's no good reason to do so, this doesn't appear 
to be a bug to me.

Andreas

PS: I'm assuming that something randomly inserted slashes into your text.

_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to