<?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>i.MX ProcessorsのトピックRe: how to use the ocl in opencv with imx6q?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499415#M80609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="highlighted"&gt;I&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;downloaded&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;file&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;simply&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;looked at&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;it&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN&gt;didn't&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;find&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;what&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;I&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;needed&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;I&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;need&lt;/SPAN&gt;&lt;SPAN&gt; the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; sourcecode &lt;/SPAN&gt;&lt;SPAN&gt;of&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt; object &lt;/SPAN&gt;&lt;SPAN&gt;detection&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;face&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;recognition&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; or gesture recognition demo in the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;lt;&amp;lt;Fast Image Processing with i.MX 6 Series&amp;gt;&amp;gt; ,or the OCL sdk which can replace the ocl module in opencv.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 May 2016 02:38:24 GMT</pubDate>
    <dc:creator>wangziyou</dc:creator>
    <dc:date>2016-05-05T02:38:24Z</dc:date>
    <item>
      <title>how to use the ocl in opencv with imx6q?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499413#M80607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i had compiled opencv 2.4.5 successfully,but it run failured as following：&lt;/P&gt;&lt;P&gt;root@myzr /opt/opencvtest$ ./hog pic1.png&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;Controls:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESC - exit&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m - change mode GPU &amp;lt;-&amp;gt; CPU&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g - convert image to gray or not&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/q - increase/decrease HOG scale&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/w - increase/decrease levels count&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/e - increase/decrease HOG group threshold&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/r - increase/decrease hit threshold&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;Scale: 1.05&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;Group threshold: 8&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;Levels number: 13&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;Win width: 48&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;Win stride: (8, 8)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;Hit threshold: 1.4&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;Gamma correction: 1&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;OpenCV Error: Gpu API call (CL_INVALID_DEVICE_TYPE) in getDevice, file /mnt/share/opencv-2.4.5/modules/ocl/src/initialization.cpp, line 312&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;error: /mnt/share/opencv-2.4.5/modules/ocl/src/initialization.cpp:312: error: (-217) CL_INVALID_DEVICE_TYPE in function getDevice&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;Segmentation fault&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;ocl/src/initialization.cpp lines 313 is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt; 309:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cl_uint numsdev;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt; 310:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cl_int status = clGetDeviceIDs(platforms[i], devicetype, 0, NULL, &amp;amp;numsdev);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt; 311:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(status != CL_DEVICE_NOT_FOUND)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt; 312:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; openCLVerifyCall(status);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it means that the initialization is failure,so i searched in internet,and find and&amp;nbsp; document &amp;lt;&amp;lt;Fast Image Processing with i.MX 6 Series&amp;gt;&amp;gt;(&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4629.pdf" style="font-family: Simsun; font-size: medium;" target="_blank" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4629.pdf"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4629.pdf&lt;/A&gt; ) and a link (&lt;A href="http://blog.gmane.org/gmane.linux.embedded.yocto.meta-freescale/month=20131201" style="font-family: Simsun; font-size: medium;" target="_blank" title="http://blog.gmane.org/gmane.linux.embedded.yocto.meta-freescale/month=20131201"&gt;Freescale OpenEmbedded/Yocto Layers discussion list ()&lt;/A&gt;​ ,but the new problem is:&lt;/P&gt;&lt;P&gt;(1)the pdf document&amp;nbsp; &lt;SPAN style="font-size: 7pt; color: #000000;"&gt;Implemented the face detector&lt;/SPAN&gt;,&lt;SPAN style="font-size: 7pt; color: #000000;"&gt;Object detection,&lt;SPAN style="font-size: 7pt; color: #000000;"&gt;Image processing ，but where can i download the code？ &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 7pt;"&gt;(2) the link tell that :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 7pt;"&gt;&lt;EM style="color: #808000; font-family: Simsun; font-size: medium;"&gt;"You are right, the OCL module in OpenCV is CUDA based, it doesn´t work for us. Using OpenCL in this case, you can base on OpenCL embedded profile tutorials you can find in the web also, I created a simple OCL SDK, that provides you a quick start for opencl application, unfortunately it is not available outside Freescale yet, there are some samples there (IP filtering) that you could use, I just need to check if I can share right now"&lt;/EM&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;who can tell me: is it right that "&lt;EM style="color: #808000; font-family: Simsun; font-size: medium;"&gt;the OCL module in OpenCV is CUDA based, it doesn´t work for imx6&lt;/EM&gt;"?&amp;nbsp; the author &lt;EM style="color: #808000; font-family: Simsun; font-size: medium;"&gt;created a simple OCL SDK &lt;/EM&gt;&lt;SPAN style="color: #303030;"&gt;,but where is it，can i use it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808000; font-family: Simsun; font-size: medium;"&gt;can you answer me as soon as possible? it is hurry！！&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 07:02:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499413#M80607</guid>
      <dc:creator>wangziyou</dc:creator>
      <dc:date>2016-05-04T07:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the ocl in opencv with imx6q?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499414#M80608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to attached document for the detailed information on the graphics features, supported by the i.MX6 platform.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 11:17:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499414#M80608</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2016-05-04T11:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the ocl in opencv with imx6q?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499415#M80609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="highlighted"&gt;I&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;downloaded&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;file&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;simply&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;looked at&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;it&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN&gt;didn't&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;find&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;what&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;I&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;needed&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;I&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;need&lt;/SPAN&gt;&lt;SPAN&gt; the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; sourcecode &lt;/SPAN&gt;&lt;SPAN&gt;of&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt; object &lt;/SPAN&gt;&lt;SPAN&gt;detection&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;face&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;recognition&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; or gesture recognition demo in the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;lt;&amp;lt;Fast Image Processing with i.MX 6 Series&amp;gt;&amp;gt; ,or the OCL sdk which can replace the ocl module in opencv.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 02:38:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499415#M80609</guid>
      <dc:creator>wangziyou</dc:creator>
      <dc:date>2016-05-05T02:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the ocl in opencv with imx6q?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499416#M80610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no source code available. The AN4629 just describes the basic principles, all other work is up to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Artur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 07:09:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499416#M80610</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2016-05-05T07:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the ocl in opencv with imx6q?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499417#M80611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;oh, the screenshots in &lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;AN4629 are &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: 'microsoft yahei', simhei, arial, sans-serif; color: #32220e; background-color: #f9f8e4;"&gt;artificial&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 16px; font-family: arial, sans-serif, 'microsoft yahei', simhei; color: #333333;"&gt;？&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 14:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499417#M80611</guid>
      <dc:creator>wangziyou</dc:creator>
      <dc:date>2016-05-06T14:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the ocl in opencv with imx6q?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499418#M80612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello，I want to know that do you use the ocl in opencv with imx6q successfully?&lt;/P&gt;&lt;P&gt;what is your solution？ thanks。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 13:01:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499418#M80612</guid>
      <dc:creator>xuelongyin</dc:creator>
      <dc:date>2016-08-17T13:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the ocl in opencv with imx6q?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499419#M80613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xuelong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OCL in OCV is not supported on imx6q (embedded profile), only on imx6qp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 13:28:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499419#M80613</guid>
      <dc:creator>andre_silva</dc:creator>
      <dc:date>2016-09-27T13:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the ocl in opencv with imx6q?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499420#M80614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello，I am a graduate student, I download your code about opencl from &lt;A class="link-titled" href="https://github.com/andreluizeng/opencl" title="https://github.com/andreluizeng/opencl"&gt;GitHub - andreluizeng/opencl: i.MX OpenCL + OpenCV sample codes&lt;/A&gt;。I make it success，but when I run ./cl_helloworld on my board(imx6q, Linux 3.0.35)，There are some questions: sometimes it run success；sometimes it run error，the one kind of error messages as following：&lt;BR /&gt;Initializing OpenCL: Ok&lt;BR /&gt;-=-=-=- Platform Information -=-=-=-&lt;BR /&gt;Platform Name: Vivante OpenCL Platform&lt;BR /&gt;Platform Profile: EMBEDDED_PROFILE&lt;BR /&gt;Platform Version: OpenCL 1.1 &lt;BR /&gt;Platform Vendor: Vivante Corporation&lt;BR /&gt;-=-=-=- Device Information -=-=-=-&lt;BR /&gt;Device Name: Vivante OpenCL Device&lt;BR /&gt;Device Profile: EMBEDDED_PROFILE&lt;BR /&gt;Device Version: OpenCL 1.1 &lt;BR /&gt;Device Vendor: Vivante Corporation&lt;BR /&gt;Device Max Work Item Dimensions: 3-D&lt;BR /&gt;Device Max Work Group Size: 1024&lt;BR /&gt;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-&lt;BR /&gt;Loading CL programs: hello_world Ok&lt;BR /&gt;Building hello_world kernel:&lt;BR /&gt;*** glibc detected *** ./cl_helloworld: malloc(): memory corruption: 0x00022768 ***&lt;BR /&gt;Aborted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another kind of error messages as following：&lt;BR /&gt;Initializing OpenCL: Ok&lt;BR /&gt;-=-=-=- Platform Information -=-=-=-&lt;BR /&gt;Platform Name: Vivante OpenCL Platform&lt;BR /&gt;Platform Profile: EMBEDDED_PROFILE&lt;BR /&gt;Platform Version: OpenCL 1.1 &lt;BR /&gt;Platform Vendor: Vivante Corporation&lt;BR /&gt;-=-=-=- Device Information -=-=-=-&lt;BR /&gt;Device Name: Vivante OpenCL Device&lt;BR /&gt;Device Profile: EMBEDDED_PROFILE&lt;BR /&gt;Device Version: OpenCL 1.1 &lt;BR /&gt;Device Vendor: Vivante Corporation&lt;BR /&gt;Device Max Work Item Dimensions: 3-D&lt;BR /&gt;Device Max Work Group Size: 1024&lt;BR /&gt;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-&lt;BR /&gt;Loading CL programs: hello_world Ok&lt;BR /&gt;Building hello_world kernel:&lt;BR /&gt;cl_helloworld: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &amp;amp;((av)-&amp;gt;bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) &amp;amp;&amp;amp; old_size == 0) || ((unsigned long) (old_size) &amp;gt;= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) &amp;amp; ~((2 * (sizeof(size_t))) - 1))) &amp;amp;&amp;amp; ((old_top)-&amp;gt;size &amp;amp; 0x1) &amp;amp;&amp;amp; ((unsigned long)old_end &amp;amp; pagemask) == 0)' failed.&lt;BR /&gt;Aborted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the program stopped at Line 610（cl_helloworld.cpp） “ error = clBuildProgram ((* program), 1, device_id, "", NULL, NULL);”，but I cannot solve it. I hope I can get your help. Thank you！&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 13:41:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499420#M80614</guid>
      <dc:creator>xuelongyin</dc:creator>
      <dc:date>2016-11-01T13:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the ocl in opencv with imx6q?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499421#M80615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a NXP or a custom board ? I have been working a much newer kernel and GPU driver (which is the recomendation) is it possible to do some tests a 4.1.15 kernel ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 17:13:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-use-the-ocl-in-opencv-with-imx6q/m-p/499421#M80615</guid>
      <dc:creator>andre_silva</dc:creator>
      <dc:date>2016-11-07T17:13:22Z</dc:date>
    </item>
  </channel>
</rss>

