I’m developing a Viewer for HDR-Images (OpenEXR) and the ToneMapping (mapping the HDR data into the RGB color space) is implemented in shader code and done on my GPU. That’s no problem, because it’s realy fast. But I also implemented a fragment shader to do some filtering. This computation is expensive and when doing on the GPU on higher parameters, Windows is restarting the GPU driver (Nvidia), bescause it’s not responsing in certain time. This also happens with the Intel HD 4000.
Is their any best practice known, to do some larger computations on the GPU by OpenGL?
Or is it possible to prevent Windows from interupting the computation when restarting the driver?
And if not, do you know a way to catch this error, to prevent the viewer crashing?
Thanks for your help!