OpenCL, NVIDIA on Windows 7 - Program freezes

Hello all,
my OpenCL-program freezes and crashes after few seconds.
The system says, that the graphic card driver isn’t responding anymore.

I’ve tested a program with a for-loop and simple calculations. But these program also freezes and crashes when the execution takes too long.

How can I overcome this problem without enqueueing the kernel several times for different parts of the data?

That is caused by a feature called the watchdog timer. Try searching for that and you will probably find a few threads about it, this one, for example.