Hello,

i have a question regarding the "clEnqueueNDRangeKernel" function parameter "const size_t *global_work_size":

Is there a way to determine the max global_work_size before the display driver stops working? Of course i mean for GPU devices that are connected to a monitor.

On my desktop(Radeon HD 7570) and on my laptop(GeForce 9600M), those devices are connected to monitors and i noticed the global_work_size limit is somewhere between 250,000 and 360,000 before the display driver stops working. I am aware that some registry settings can be modified, like display driver timeout..etc but that is not an option for me. Is it possible to compute the max global_work_size before the driver gets restarted? Thanks in advance.