<?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 2016R2 breaks OpenCL 1.2 CPU support in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/2016R2-breaks-OpenCL-1-2-CPU-support/m-p/1101913#M5166</link>
    <description>&lt;P&gt;I've installed 2016R2 (&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;had previously installed 2015Rx)&lt;/SPAN&gt;.&lt;/P&gt;

&lt;P&gt;The following is reported on my Windows 7:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;Intel(R) Corporation OpenCL 1.2     
 - Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz  
 - Intel(R) HD Graphics 4000

Intel(R) Corporation OpenCL 2.1     
- Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz&lt;/PRE&gt;

&lt;P&gt;However OpenCL 1.2 CPU stopped working. Although CPU device is found the context fails to be created:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;Context::Context() failed (CL_DEVICE_NOT_AVAILABLE)&lt;/PRE&gt;

&lt;P&gt;This problem should be easily reproducible using CodeBuilder Project for Windows VS2015 template. Compilation fails on:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;1&amp;gt;------ Build started: Project: OpenCLProject2, Configuration: Release Win32 ------
1&amp;gt;  Preprocessing: Template.cl
1&amp;gt;  Ignoring -TARGETOS option - not supported for current CPU runtime version
1&amp;gt;  Setting target instruction set architecture to: Default (Advanced Vector Extension (AVX))
1&amp;gt;C:\dev\OpenCLProject2\Template.cl : error CL: Failed to create context for OpenCL Intel CPU device...: -2 (CL_DEVICE_NOT_AVAILABLE)
1&amp;gt;  Build failed!
1&amp;gt;
1&amp;gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\IntelOpenCL.targets(98,5): error MSB3721: The command ""C:\Program Files (x86)\Intel\OpenCL SDK\6.1\bin\x86\ioc32.exe" -cmd=build -input="C:\dev\OpenCLProject2\Template.cl" -output="Release\Template.out" -VS -device=CPU -simd=default -targetos=current            -bo="           "" exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2016 18:06:22 GMT</pubDate>
    <dc:creator>Janusz_R_</dc:creator>
    <dc:date>2016-06-20T18:06:22Z</dc:date>
    <item>
      <title>2016R2 breaks OpenCL 1.2 CPU support</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/2016R2-breaks-OpenCL-1-2-CPU-support/m-p/1101913#M5166</link>
      <description>&lt;P&gt;I've installed 2016R2 (&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;had previously installed 2015Rx)&lt;/SPAN&gt;.&lt;/P&gt;

&lt;P&gt;The following is reported on my Windows 7:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;Intel(R) Corporation OpenCL 1.2     
 - Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz  
 - Intel(R) HD Graphics 4000

Intel(R) Corporation OpenCL 2.1     
- Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz&lt;/PRE&gt;

&lt;P&gt;However OpenCL 1.2 CPU stopped working. Although CPU device is found the context fails to be created:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;Context::Context() failed (CL_DEVICE_NOT_AVAILABLE)&lt;/PRE&gt;

&lt;P&gt;This problem should be easily reproducible using CodeBuilder Project for Windows VS2015 template. Compilation fails on:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;1&amp;gt;------ Build started: Project: OpenCLProject2, Configuration: Release Win32 ------
1&amp;gt;  Preprocessing: Template.cl
1&amp;gt;  Ignoring -TARGETOS option - not supported for current CPU runtime version
1&amp;gt;  Setting target instruction set architecture to: Default (Advanced Vector Extension (AVX))
1&amp;gt;C:\dev\OpenCLProject2\Template.cl : error CL: Failed to create context for OpenCL Intel CPU device...: -2 (CL_DEVICE_NOT_AVAILABLE)
1&amp;gt;  Build failed!
1&amp;gt;
1&amp;gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\IntelOpenCL.targets(98,5): error MSB3721: The command ""C:\Program Files (x86)\Intel\OpenCL SDK\6.1\bin\x86\ioc32.exe" -cmd=build -input="C:\dev\OpenCLProject2\Template.cl" -output="Release\Template.out" -VS -device=CPU -simd=default -targetos=current            -bo="           "" exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 18:06:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/2016R2-breaks-OpenCL-1-2-CPU-support/m-p/1101913#M5166</guid>
      <dc:creator>Janusz_R_</dc:creator>
      <dc:date>2016-06-20T18:06:22Z</dc:date>
    </item>
    <item>
      <title>Hi Janusz,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/2016R2-breaks-OpenCL-1-2-CPU-support/m-p/1101914#M5167</link>
      <description>&lt;P&gt;Hi Janusz,&lt;/P&gt;

&lt;P&gt;Could you please let me know what graphics driver are you using?&lt;/P&gt;

&lt;P&gt;Could you please install the latest and greatest driver from here: &lt;A href="https://downloadcenter.intel.com/product/81499/Intel-HD-Graphics-4000-for-3rd-Generation-Intel-Core-Processor​s" target="_blank"&gt;https://downloadcenter.intel.com/product/81499/Intel-HD-Graphics-4000-for-3rd-Generation-Intel-Core-Processor​s&lt;/A&gt; and let me know the results?&lt;/P&gt;

&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 13:49:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/2016R2-breaks-OpenCL-1-2-CPU-support/m-p/1101914#M5167</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2016-06-21T13:49:37Z</dc:date>
    </item>
    <item>
      <title>Hi Robert,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/2016R2-breaks-OpenCL-1-2-CPU-support/m-p/1101915#M5168</link>
      <description>&lt;P&gt;Hi Robert,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The previous graphic driver version was:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;10.18.10.3958.&lt;BR /&gt;
	Updating to the latest (&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;10.18.10.4425) fixed the problem.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 19:12:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/2016R2-breaks-OpenCL-1-2-CPU-support/m-p/1101915#M5168</guid>
      <dc:creator>Janusz_R_</dc:creator>
      <dc:date>2016-06-21T19:12:15Z</dc:date>
    </item>
  </channel>
</rss>

