1
vote
1answer
177 views

PyCUDA kernel timing errors

Simple enough start=cuda.Event() func(args,block=blockdims) cuda.memcpy_dtoh(d,h) end=cuda.Event() dur=start.time_till(end) print dur But I'm getting this error File "gpu.py", line 161, in ...