Is it possible to detect driver restart and broken device context in Brook+ app?
Vista/7 will restart videodriver if kernel launch was too long and driver appears frozen.
After such restart Brook+ app either summons exception by accessing to invalid memory address or starts to produce invalid results.
Apparently its device context broken.
Is it possible to detect such situation and reinitialize device context before app will crash or will produce invalid data ?
Kernel call returns no error in such condition unfortunately, probably it crashes before error checking...