AnsweredAssumed Answered

clGgetDeviceIDs suddenly very slow

Question asked by andyste1 on Jul 5, 2019
Latest reply on Jul 8, 2019 by dipak

We are currently developing an OpenCL application on Windows 10 (Visual Studio 2017) but have noticed that the OpenCL performance has recently degraded, with the call to clGetDeviceIDs now taking around 10 seconds. Subsequent calls take 2-3 seconds (until we restart our application).

 

This has only started recently, but we can't figure out what has changed to cause this. It doesn't seem to be an issue in our code as we've tried a version from a couple of weeks ago that was known to work, and this is exhibiting the same delay.

 

I'm assuming something has changed on the PC but we don't know what. It isn't the graphics drivers, as these haven't changed for several months. Ditto for Windows updates.

 

The only other change made recently was the installation of Visual Studio 2013 (to work on some unrelated legacy stuff). Is it possible this could have messed up runtimes required by OpenCL? Looking for any suggestions as to where to look or how to diagnose the issue further.

 

The graphics card is a Radeon Pro WX7100 by the way.

Outcomes