running time problem

I am not sure but i believe that the GPU can’t run over 5 seconds.

Are there solutions which make the GPU work over 5 seconds ?

The windows watchdog timeout for GDI operations is 5 seconds, if you use the graphicscard you’re doing CUDA on as your primary graphics adapter.

A solution could be if you install a second graphicscard (a cheap one or onboard) as your primary graphics adapter.

Thanks for your reply. :)

Are there other methods ?

You can run in the linux console without X.

Split your task in smaller chunks :)