OpenCL Hardware Capability Viewer 1.30 released

Version 1.30 of the OpenCL Hardware Capability Viewer is now available for all supported platforms (Windows, Linux, Android). This is mostly a maintenance update to ensure compatibility with recent and future Android versions.

Aside from other minor changes and fixes, this version also improves how OpenCL is accessed on Android devices. Some newer devices, like Google’s Pixel phones, no longer publicly expose OpenCL support, so apps that want to use the API need to explicitly load the library. This has been added in this version, so you should now be able to run the app on those devices.

Android was the main reason for this update. I’m using the Qt framework for all my Hardware Capability Viewers due to its wide range of supported platforms. But Android’s ecosystem is moving fast (often too fast for a hobby developer), and if you want to keep up you need to make sure you’re able to meet Google’s ever-changing requirements for releasing apps on their store. With the app still using Qt 5, that wasn’t possible. Qt 5 didn’t let me target the minimum required Android SDK version and doesn’t support 16 KB page sizes. Both are required for releasing updates of the app to the store. So with this release I updated to a recent Qt 6 version. Not many changes were needed code-wise. During testing I noticed a last-minute bug in Qt 6 where the UI wouldn’t properly redraw on Android. That bug has been resolved recently, so the move from Qt 5 to Qt 6 is now finished.