<?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 Re: GPU source code with opencl in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPU-source-code-with-opencl/m-p/1224451#M168784</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The gpu source code is not public and you can see the build log if you have built a yocto image.We only provide .so file(Actually it was provided by GPU IP company)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/imx-gpu-viv/1_6.4.3.p1.0-aarch64-r0/temp/&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The rootfs library about gpu is in&lt;STRONG&gt;&amp;nbsp;imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/imx-gpu-viv/1_6.4.3.p1.0-aarch64-r0/package/&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2021 08:27:14 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2021-02-02T08:27:14Z</dc:date>
    <item>
      <title>GPU source code with opencl</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-source-code-with-opencl/m-p/1224323#M168771</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; We have some question about GPU library on iMX8QXP&lt;/P&gt;&lt;P&gt;On the linux image from official website, It isn't problem with GPU and test code call opencl with&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/OpenCL-Hello-World/ta-p/1113358" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/OpenCL-Hello-World/ta-p/1113358&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But when we use custom rootfs (e.g. debian, ubuntu) we can't use GPU when run same it show segmentation fault (core dumped)&lt;/P&gt;&lt;P&gt;*** we are compiled driver GPU pack in Image kernel&lt;/P&gt;&lt;P&gt;we can see from dmesg | grep -i "galcore"&lt;/P&gt;&lt;P&gt;[ 1.776868] Galcore version 6.4.3.p0.286725&lt;/P&gt;&lt;P&gt;1. We're try to install source code from&amp;nbsp;imx-gpu-viv-6.4.3.p1.0-aarch64.bin and use it but glic compile library does not same version (yocto official 5.4 use glibc 2.30, custom rootfs use glibc 2.31)&lt;/P&gt;&lt;P&gt;2. We're use only header and compile share library libopencl.so from&amp;nbsp;&lt;A href="https://github.com/KhronosGroup/OpenCL-ICD-Loader" target="_blank"&gt;https://github.com/KhronosGroup/OpenCL-ICD-Loader&lt;/A&gt;&amp;nbsp;,It still cann't use&lt;/P&gt;&lt;P&gt;We are missing something and How to use GPU with opencl on custom rootfs&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 03:02:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-source-code-with-opencl/m-p/1224323#M168771</guid>
      <dc:creator>thepnimit</dc:creator>
      <dc:date>2021-02-02T03:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: GPU source code with opencl</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-source-code-with-opencl/m-p/1224365#M168774</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why not compile&amp;nbsp;&lt;SPAN&gt;glibc 2.30(replace 2.31) in your custom board,then copy the gpu library from official rootfs?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Zhiming&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 04:42:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-source-code-with-opencl/m-p/1224365#M168774</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2021-02-02T04:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: GPU source code with opencl</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-source-code-with-opencl/m-p/1224373#M168775</link>
      <description>&lt;P&gt;Because the OS and glibc update faster than NXP kernel (e.g. debian 10, 11, 12)&lt;/P&gt;&lt;P&gt;If we have knowledge for create GPU library, we can compile to use with any OS and any glibc&lt;/P&gt;&lt;P&gt;Or sometime We want to use with complete OS (Fedora, CentOS), We cannot compile rootfs by self&lt;/P&gt;&lt;P&gt;glibc is fix version&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 05:01:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-source-code-with-opencl/m-p/1224373#M168775</guid>
      <dc:creator>thepnimit</dc:creator>
      <dc:date>2021-02-02T05:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: GPU source code with opencl</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-source-code-with-opencl/m-p/1224451#M168784</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The gpu source code is not public and you can see the build log if you have built a yocto image.We only provide .so file(Actually it was provided by GPU IP company)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/imx-gpu-viv/1_6.4.3.p1.0-aarch64-r0/temp/&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The rootfs library about gpu is in&lt;STRONG&gt;&amp;nbsp;imx-yocto-bsp/build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/imx-gpu-viv/1_6.4.3.p1.0-aarch64-r0/package/&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 08:27:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-source-code-with-opencl/m-p/1224451#M168784</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2021-02-02T08:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: GPU source code with opencl</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPU-source-code-with-opencl/m-p/1225262#M168857</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for path of gpu source.&lt;/P&gt;&lt;P&gt;When use rsync&amp;nbsp;&lt;STRONG&gt;build-xwayland/tmp/work/aarch64-mx8mm-poky-linux/imx-gpu-viv/1_6.4.3.p1.0-aarch64-r0/package/ &lt;/STRONG&gt;to rootfs and install libwayland-server, libwayland-client, libdrm, libdrm-dev&lt;/P&gt;&lt;P&gt;code can run with gpu&lt;/P&gt;&lt;P&gt;This is test on rootfs fedora32 and glibc 2.31&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 06:50:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPU-source-code-with-opencl/m-p/1225262#M168857</guid>
      <dc:creator>thepnimit</dc:creator>
      <dc:date>2021-02-03T06:50:41Z</dc:date>
    </item>
  </channel>
</rss>

