<?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のトピックCan't compile cl_kernel with vcCompiler</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Can-t-compile-cl-kernel-with-vcCompiler/m-p/1204213#M166957</link>
    <description>&lt;P&gt;&lt;FONT face="Verdana, sans-serif"&gt;&lt;SPAN&gt;Hi everbody! To establish and compile my OpenCL projects for imx8QM MEK boards, I search Vivante IDE on nxp.com according to the Char 12 of i.MX_Graphics_User's_Guide.pdf, but there’s no Vivante IDE found on nxp.com. I download VivanteVTK-v6.2.4.p4.1.7.12.tgz that includes vcCompiler and vCompiler as Vivante IDE does. When I run ./vcCompiler kernel.cl, it returns A ERROR massage.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR: Cannot find gpu config file viv_gpu.config. Please check and use "-f configFile" to specify the file.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But there isn’t any viv_gpu.config on my disk.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I suppose the document should precisely tell us how to compile a OpenCl project successfully.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. How do I use the VivanteVTK ? Or where can I download the Vivante IDE and VivanteIDE User Guide from?&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Where can I get a viv_gpu.config file for vcCompiler when I only find VivanteVTK download?&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. If a kernel.cl file compiled into a kernel.clgcSL file successfully, How to connect it with the the host program. Should I write&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; “program = CreateProgram(context, device, "kernel.cl")”&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; “program = CreateProgram(context, device, "kernel.clgcSL")”?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Dec 2020 02:28:32 GMT</pubDate>
    <dc:creator>Rungfu</dc:creator>
    <dc:date>2020-12-25T02:28:32Z</dc:date>
    <item>
      <title>Can't compile cl_kernel with vcCompiler</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-t-compile-cl-kernel-with-vcCompiler/m-p/1204213#M166957</link>
      <description>&lt;P&gt;&lt;FONT face="Verdana, sans-serif"&gt;&lt;SPAN&gt;Hi everbody! To establish and compile my OpenCL projects for imx8QM MEK boards, I search Vivante IDE on nxp.com according to the Char 12 of i.MX_Graphics_User's_Guide.pdf, but there’s no Vivante IDE found on nxp.com. I download VivanteVTK-v6.2.4.p4.1.7.12.tgz that includes vcCompiler and vCompiler as Vivante IDE does. When I run ./vcCompiler kernel.cl, it returns A ERROR massage.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR: Cannot find gpu config file viv_gpu.config. Please check and use "-f configFile" to specify the file.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But there isn’t any viv_gpu.config on my disk.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I suppose the document should precisely tell us how to compile a OpenCl project successfully.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. How do I use the VivanteVTK ? Or where can I download the Vivante IDE and VivanteIDE User Guide from?&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Where can I get a viv_gpu.config file for vcCompiler when I only find VivanteVTK download?&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. If a kernel.cl file compiled into a kernel.clgcSL file successfully, How to connect it with the the host program. Should I write&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; “program = CreateProgram(context, device, "kernel.cl")”&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; “program = CreateProgram(context, device, "kernel.clgcSL")”?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Dec 2020 02:28:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-t-compile-cl-kernel-with-vcCompiler/m-p/1204213#M166957</guid>
      <dc:creator>Rungfu</dc:creator>
      <dc:date>2020-12-25T02:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can't compile cl_kernel with vcCompiler</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-t-compile-cl-kernel-with-vcCompiler/m-p/1206642#M167261</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The document is : &lt;A href="https://www.nxp.com.cn/docs/en/user-guide/IMX_GRAPHICS_USERS_GUIDE.pdf" target="_blank"&gt;https://www.nxp.com.cn/docs/en/user-guide/IMX_GRAPHICS_USERS_GUIDE.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The .config file can be found in the vCompiler folder after you installed the vCompiler into your system. (e.g. C:\Program Files\Vivante\vCompiler) . The install files are in the VTK package.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 07:54:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-t-compile-cl-kernel-with-vcCompiler/m-p/1206642#M167261</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2021-01-05T07:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can't compile cl_kernel with vcCompiler</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-t-compile-cl-kernel-with-vcCompiler/m-p/1207291#M167322</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Thank you for your reply. Now I’ve found .config file in Windows, and I ran the following demand on Ubuntu Linux&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;./vcCompiler -f viv_gpu_imx8qm.config kernel.cl&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;but an error occurred&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&amp;nbsp;error : function: 'dot' hasn't the corresponding declaration&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Dot is an cl build-in function that can execute correctly when I add it to the demo Fast Fourier Transform kernel source of imx-gpu-sdk.&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 06:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-t-compile-cl-kernel-with-vcCompiler/m-p/1207291#M167322</guid>
      <dc:creator>Rungfu</dc:creator>
      <dc:date>2021-01-06T06:31:06Z</dc:date>
    </item>
  </channel>
</rss>

