OpenCL timeout on GPU - watchdog

I am running a kernel that runs multiple loops per unit (1000 to 250,000).


The kernel runs as designed on the CPU but fails on the GPU (both internal and external) returning undefined results. It only runs in single precision on the internal GPU but that is another question (https://forums.developer.apple.com/message/274587#274587).


It seems I am not alone (https://forums.khronos.org/showthread.php/13593-Mac-OpenCL-Kernel-Timeout)


I suspect I need to reset the watchdog timer for the GPU. Can anyone suggest how this can be done?


I am working on a:

Model Name: MacBook Pro, Intel Core i7, 3.1 GHz

It has the internal GPU (Intel Iris Graphics 6100) and an external AMD Radeon RX 580.

Replies

Greetings oldDog,


Did you find a solution to your issue? I am also experiencing a similar problem.


Thanks,

mancoast