I'm not sure, I saw similar behavior with empty headers when I did a
sys.exit() in some places, though in others it worked fine. I'll tell you if
I find out more. I did a tail -f and it looks like the file is only zeroed
once, so it might be waiting for a context pop call to write everything; I'm
not sure.

btw, /usr/local/cuda/doc/CUDA_Profiler_*.txt has more options / details than
what Andreas listed.

regards,
Nicholas

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?
>
> Siddhardh
>
_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to