<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [IMX8MP] Debug OpenCL using VivanteIDE5.4 on hardware does NOT hit breakpoint in OpenCL kernel in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-Debug-OpenCL-using-VivanteIDE5-4-on-hardware-does-NOT-hit/m-p/1461062#M190585</link>
    <description>&lt;P&gt;I'm trying to debug OpenCL kernel using VivanteIDE5.4. The board is running Yocto BSP version 5.15.5 recently released. I was able to setup the IDE so that the sample project - cl_multi_context can be built successfully and was able to launch debug so that the problem breaks at the main function. My issue was that the program will never go into the OpenCL during debug single stepping.&lt;/P&gt;&lt;P&gt;The things I've tried:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Turns on "Generate debug information (-g) in the "Cross OpenCL Compiler" setting, following the steps in the Vivante_IDE_User_guide.pdf&lt;/LI&gt;&lt;LI&gt;Set Default work-item for new breakpoints to be 0,0,0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2022-05-19 13-10-08.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180313iBAAA63B7A8170F84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2022-05-19 13-10-08.png" alt="Screenshot from 2022-05-19 13-10-08.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After doing all these, the program still simply doesn't go into the kernel while debugging. In fact, I wasn't able to set breakpoint in the kernel source code (mathop.cl). When I examine the vdb item on left, it doesn't include any Context items which is showing in the images included in the Vivante_IDE_User_guide.pdf&lt;/P&gt;&lt;P&gt;Anyone has any idea what's going on?&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jun 2022 22:00:28 GMT</pubDate>
    <dc:creator>dteng</dc:creator>
    <dc:date>2022-06-24T22:00:28Z</dc:date>
    <item>
      <title>[IMX8MP] Debug OpenCL using VivanteIDE5.4 on hardware does NOT hit breakpoint in OpenCL kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-Debug-OpenCL-using-VivanteIDE5-4-on-hardware-does-NOT-hit/m-p/1461062#M190585</link>
      <description>&lt;P&gt;I'm trying to debug OpenCL kernel using VivanteIDE5.4. The board is running Yocto BSP version 5.15.5 recently released. I was able to setup the IDE so that the sample project - cl_multi_context can be built successfully and was able to launch debug so that the problem breaks at the main function. My issue was that the program will never go into the OpenCL during debug single stepping.&lt;/P&gt;&lt;P&gt;The things I've tried:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Turns on "Generate debug information (-g) in the "Cross OpenCL Compiler" setting, following the steps in the Vivante_IDE_User_guide.pdf&lt;/LI&gt;&lt;LI&gt;Set Default work-item for new breakpoints to be 0,0,0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2022-05-19 13-10-08.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180313iBAAA63B7A8170F84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2022-05-19 13-10-08.png" alt="Screenshot from 2022-05-19 13-10-08.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After doing all these, the program still simply doesn't go into the kernel while debugging. In fact, I wasn't able to set breakpoint in the kernel source code (mathop.cl). When I examine the vdb item on left, it doesn't include any Context items which is showing in the images included in the Vivante_IDE_User_guide.pdf&lt;/P&gt;&lt;P&gt;Anyone has any idea what's going on?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 22:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-Debug-OpenCL-using-VivanteIDE5-4-on-hardware-does-NOT-hit/m-p/1461062#M190585</guid>
      <dc:creator>dteng</dc:creator>
      <dc:date>2022-06-24T22:00:28Z</dc:date>
    </item>
  </channel>
</rss>

