<?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 Problem Using OpenCL in Ubuntu with Detailed Report in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Problem-Using-OpenCL-in-Ubuntu-with-Detailed-Report/m-p/1173664#M6608</link>
    <description>&lt;P&gt;Hi,Everybody&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1--From the scripti "python sys_analyzer_linux.py -v " I got the output&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;--------------------------
Hardware readiness checks:
--------------------------
 [ OK ] Processor name: Intel(R) Core(TM) i7-5675C CPU @ 3.10GHz
 [ INFO ] Intel Processor
 [ INFO ] Processor brand: Core
 [ INFO ] Processor arch: Broadwell
--------------------------
OS readiness checks:
--------------------------
 [ INFO ] GPU PCI id     : 1622
 [ INFO ] GPU description: BDW GT3 ULT
 [ OK ] GPU visible to OS
 [ INFO ] no nomodeset in GRUB cmdline (good)
 [ INFO ] Linux distro   : Ubuntu 16.04
 [ INFO ] Linux kernel   : 4.4.0-92-generic
 [ INFO ] glibc version  : 2.23
 [ INFO ] Linux distro suitable for Generic install
 [ INFO ] gcc version    : 20160609 (&amp;gt;=4.8.2 suggested)
--------------------------
Media Server Studio Install:
--------------------------
 [ OK ] user in video group
 [ OK ] libva.so.1 found
 [ INFO ] Intel iHD used by libva
 [ ERROR ] vainfo not reporting codec entry points
 [ INFO ] i915 driver in use by Intel video adapter
 [ ERROR ] could not open /dev/dri/renderD128
--------------------------
Component Smoke Tests:
--------------------------
 [ OK ] Media SDK HW API level:1.0
 [ OK ] Media SDK SW API level:1.19
 [ OK ] OpenCL check:platform:Intel(R) OpenCL GPU OK CPU OK
platform:Experimental OpenCL 2.1 CPU Only Platform GPU OK CPU OK
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;2--And ,from the scripti "sudo&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;python sys_analyzer_linux.py -v&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;" I got the output&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;--------------------------
Hardware readiness checks:
--------------------------
 [ OK ] Processor name: Intel(R) Core(TM) i7-5675C CPU @ 3.10GHz
 [ INFO ] Intel Processor
 [ INFO ] Processor brand: Core
 [ INFO ] Processor arch: Broadwell
--------------------------
OS readiness checks:
--------------------------
 [ INFO ] GPU PCI id     : 1622
 [ INFO ] GPU description: BDW GT3 ULT
 [ OK ] GPU visible to OS
 [ INFO ] no nomodeset in GRUB cmdline (good)
 [ INFO ] Linux distro   : Ubuntu 16.04
 [ INFO ] Linux kernel   : 4.4.0-92-generic
 [ INFO ] glibc version  : 2.23
 [ INFO ] Linux distro suitable for Generic install
 [ INFO ] gcc version    : 20160609 (&amp;gt;=4.8.2 suggested)
--------------------------
Media Server Studio Install:
--------------------------
 [ OK ] user in video group
 [ OK ] libva.so.1 found
 [ ERROR ] libva not loading Intel iHD
 [ OK ] vainfo reports valid codec entry points
 [ INFO ] i915 driver in use by Intel video adapter
 [ OK ] /dev/dri/renderD128 connects to Intel i915
--------------------------
Component Smoke Tests:
--------------------------
 [ OK ] Media SDK HW API level:1.0
 [ OK ] Media SDK SW API level:1.19
 [ OK ] OpenCL check:platform:Intel(R) OpenCL GPU OK CPU OK
platform:Experimental OpenCL 2.1 CPU Only Platform GPU OK CPU OK&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;3--sam@sam-dev:~/Downloads$ which ioc64&lt;BR /&gt;
	/usr/bin/ioc64&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;&lt;STRONG&gt;4--When I use the commond "ioc64 -input=22.cl -device=gpu",the log as that.&lt;/STRONG&gt;
No command specified, using 'build' as default
OpenCL Intel(R) Graphics device was found!
Device name: Intel(R) HD Graphics
Device version: OpenCL 1.2 
Device vendor: Intel(R) Corporation
Device profile: FULL_PROFILE
fcl build 1 succeeded.
fcl build 2 succeeded.
bcl build succeeded.

simpleAdd info:
	Maximum work-group size: 256
	Compiler work-group size: (0, 0, 0)
	Local memory size: 0
	Preferred multiple of work-group size: 32
	Minimum amount of private memory: 0
	Amount of spill memory used by the kernel: 0

Build succeeded!
&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;5&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: 700; font-size: 13.008px;"&gt;&lt;STRONG&gt;--And &lt;/STRONG&gt;, I use the eclipse Neon ,it report "please make sure to set the correct path under the Code Builder for OpenCl preference page"&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&lt;STRONG&gt;6--sam@sam-dev:~/Downloads$ uname -r&lt;BR /&gt;
	4.4.0-92-generic&lt;/STRONG&gt;&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;&lt;STRONG&gt;7--sam@sam-dev:/etc/alternatives/opencl-intel-tools$ ls&lt;BR /&gt;
	bin &amp;nbsp;doc &amp;nbsp;eclipse-plug-in &amp;nbsp;include &amp;nbsp;lib64 &amp;nbsp;version.txt&lt;/STRONG&gt;&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;I really need slove the problem in eclipse.If i miss some important thing ,please let me know .Thanks.&lt;/P&gt;

&lt;P&gt;At last , I'm not sure about my LD_LIBRARY_PATH is good , when i use the echo commond to print it.It shows nothing.&lt;/P&gt;

&lt;P&gt;sam@sam-dev:/$ echo $LD_LIBRARY_PATH&lt;/P&gt;

&lt;P&gt;Uh....i don't know how to set the environment of&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;LD_LIBRARY_PATH.when i use set it in /etc/environment as "&lt;/SPAN&gt;LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu:/usr/lib64:/usr/local/lib"&lt;SPAN style="font-size: 13.008px;"&gt; " .The&amp;nbsp;&lt;/SPAN&gt;sys_analyzer_linux&amp;nbsp;will report can't find libva.so and libva.so.1.&lt;/P&gt;

&lt;P&gt;Best regards&lt;/P&gt;

&lt;P&gt;Sam Lu&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 27 Aug 2017 12:35:14 GMT</pubDate>
    <dc:creator>Erickson_LU</dc:creator>
    <dc:date>2017-08-27T12:35:14Z</dc:date>
    <item>
      <title>Problem Using OpenCL in Ubuntu with Detailed Report</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Problem-Using-OpenCL-in-Ubuntu-with-Detailed-Report/m-p/1173664#M6608</link>
      <description>&lt;P&gt;Hi,Everybody&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1--From the scripti "python sys_analyzer_linux.py -v " I got the output&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;--------------------------
Hardware readiness checks:
--------------------------
 [ OK ] Processor name: Intel(R) Core(TM) i7-5675C CPU @ 3.10GHz
 [ INFO ] Intel Processor
 [ INFO ] Processor brand: Core
 [ INFO ] Processor arch: Broadwell
--------------------------
OS readiness checks:
--------------------------
 [ INFO ] GPU PCI id     : 1622
 [ INFO ] GPU description: BDW GT3 ULT
 [ OK ] GPU visible to OS
 [ INFO ] no nomodeset in GRUB cmdline (good)
 [ INFO ] Linux distro   : Ubuntu 16.04
 [ INFO ] Linux kernel   : 4.4.0-92-generic
 [ INFO ] glibc version  : 2.23
 [ INFO ] Linux distro suitable for Generic install
 [ INFO ] gcc version    : 20160609 (&amp;gt;=4.8.2 suggested)
--------------------------
Media Server Studio Install:
--------------------------
 [ OK ] user in video group
 [ OK ] libva.so.1 found
 [ INFO ] Intel iHD used by libva
 [ ERROR ] vainfo not reporting codec entry points
 [ INFO ] i915 driver in use by Intel video adapter
 [ ERROR ] could not open /dev/dri/renderD128
--------------------------
Component Smoke Tests:
--------------------------
 [ OK ] Media SDK HW API level:1.0
 [ OK ] Media SDK SW API level:1.19
 [ OK ] OpenCL check:platform:Intel(R) OpenCL GPU OK CPU OK
platform:Experimental OpenCL 2.1 CPU Only Platform GPU OK CPU OK
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;2--And ,from the scripti "sudo&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;python sys_analyzer_linux.py -v&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;" I got the output&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;--------------------------
Hardware readiness checks:
--------------------------
 [ OK ] Processor name: Intel(R) Core(TM) i7-5675C CPU @ 3.10GHz
 [ INFO ] Intel Processor
 [ INFO ] Processor brand: Core
 [ INFO ] Processor arch: Broadwell
--------------------------
OS readiness checks:
--------------------------
 [ INFO ] GPU PCI id     : 1622
 [ INFO ] GPU description: BDW GT3 ULT
 [ OK ] GPU visible to OS
 [ INFO ] no nomodeset in GRUB cmdline (good)
 [ INFO ] Linux distro   : Ubuntu 16.04
 [ INFO ] Linux kernel   : 4.4.0-92-generic
 [ INFO ] glibc version  : 2.23
 [ INFO ] Linux distro suitable for Generic install
 [ INFO ] gcc version    : 20160609 (&amp;gt;=4.8.2 suggested)
--------------------------
Media Server Studio Install:
--------------------------
 [ OK ] user in video group
 [ OK ] libva.so.1 found
 [ ERROR ] libva not loading Intel iHD
 [ OK ] vainfo reports valid codec entry points
 [ INFO ] i915 driver in use by Intel video adapter
 [ OK ] /dev/dri/renderD128 connects to Intel i915
--------------------------
Component Smoke Tests:
--------------------------
 [ OK ] Media SDK HW API level:1.0
 [ OK ] Media SDK SW API level:1.19
 [ OK ] OpenCL check:platform:Intel(R) OpenCL GPU OK CPU OK
platform:Experimental OpenCL 2.1 CPU Only Platform GPU OK CPU OK&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;3--sam@sam-dev:~/Downloads$ which ioc64&lt;BR /&gt;
	/usr/bin/ioc64&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;&lt;STRONG&gt;4--When I use the commond "ioc64 -input=22.cl -device=gpu",the log as that.&lt;/STRONG&gt;
No command specified, using 'build' as default
OpenCL Intel(R) Graphics device was found!
Device name: Intel(R) HD Graphics
Device version: OpenCL 1.2 
Device vendor: Intel(R) Corporation
Device profile: FULL_PROFILE
fcl build 1 succeeded.
fcl build 2 succeeded.
bcl build succeeded.

simpleAdd info:
	Maximum work-group size: 256
	Compiler work-group size: (0, 0, 0)
	Local memory size: 0
	Preferred multiple of work-group size: 32
	Minimum amount of private memory: 0
	Amount of spill memory used by the kernel: 0

Build succeeded!
&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;5&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: 700; font-size: 13.008px;"&gt;&lt;STRONG&gt;--And &lt;/STRONG&gt;, I use the eclipse Neon ,it report "please make sure to set the correct path under the Code Builder for OpenCl preference page"&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&lt;STRONG&gt;6--sam@sam-dev:~/Downloads$ uname -r&lt;BR /&gt;
	4.4.0-92-generic&lt;/STRONG&gt;&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;&lt;STRONG&gt;7--sam@sam-dev:/etc/alternatives/opencl-intel-tools$ ls&lt;BR /&gt;
	bin &amp;nbsp;doc &amp;nbsp;eclipse-plug-in &amp;nbsp;include &amp;nbsp;lib64 &amp;nbsp;version.txt&lt;/STRONG&gt;&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;I really need slove the problem in eclipse.If i miss some important thing ,please let me know .Thanks.&lt;/P&gt;

&lt;P&gt;At last , I'm not sure about my LD_LIBRARY_PATH is good , when i use the echo commond to print it.It shows nothing.&lt;/P&gt;

&lt;P&gt;sam@sam-dev:/$ echo $LD_LIBRARY_PATH&lt;/P&gt;

&lt;P&gt;Uh....i don't know how to set the environment of&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;LD_LIBRARY_PATH.when i use set it in /etc/environment as "&lt;/SPAN&gt;LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu:/usr/lib64:/usr/local/lib"&lt;SPAN style="font-size: 13.008px;"&gt; " .The&amp;nbsp;&lt;/SPAN&gt;sys_analyzer_linux&amp;nbsp;will report can't find libva.so and libva.so.1.&lt;/P&gt;

&lt;P&gt;Best regards&lt;/P&gt;

&lt;P&gt;Sam Lu&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Aug 2017 12:35:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Problem-Using-OpenCL-in-Ubuntu-with-Detailed-Report/m-p/1173664#M6608</guid>
      <dc:creator>Erickson_LU</dc:creator>
      <dc:date>2017-08-27T12:35:14Z</dc:date>
    </item>
  </channel>
</rss>

