Hi there,
I can't currently use OpenCL Kernel Analyzer under either Linux (tested on Arch Linux and Ubuntu 16.04) or Windows 10. After loading a kernel (any kernel will do), whenever I click on 'Compile' button, nothing happens on screen, i.e. "Static Code Analysis" section stays empty. However, taking a look at the terminal from which I launched Snapdragon Profiler on Linux, I can see the following error:
Gtk-CRITICAL **: IA__gtk_text_buffer_set_text: assertion 'text != NULL' failed
That gets printed every time I hit 'Compile'. I'm not sure how severe that failed assertion is, but it's apparently preventing all further processing from taking place. There's not a lot more I could tweak here, so I'm not sure if I'm doing something fundamentally wrong or this is an actual bug on the software.
Snapdragon Profiler version: 1.6.0.1232017
Mono version (when on Linux): 4.6.1
Any insights appreciated.
What device are you using? Can you please try enabling 'OpenCL Blocking' in the 'Options View' and run a command line OpenCL application while using Kernel Analyzer? This is a workaround of an issue we are currently investigating with devices that don't have libOpenCL.so preloaded in the system image as Snapdragon Profiler tethers to the application in order to build the kernels and gather the static code analysis data.
Hi Carlos; thanks for looking into this.
I have just tested your suggestion but unfortunately behavior has not changed. My current test device is an LG V20 phone, which sports a Snapdragon 820 (MSM8996) SoC. I can also confirm that this device in particular does carry a preloaded libOpenCL.so library, sitting in /system/vendor/lib/libOpenCL.so