<?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 Existing code using OpenCL C++ Wrapper would not compile properly in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Existing-code-using-OpenCL-C-Wrapper-would-not-compile-properly/m-p/1022360#M3350</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have an existing C++ application that uses OpenCL C++ Wrapper API, which compiled on an earlier Intel OpenCL SDK (I forgot the version), but after I upgrade my laptop to Windows 8.1, Visual Studio 2013 Ultmate, with the below spec:&lt;/P&gt;

&lt;P&gt;Intel® Driver Update Utility&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Product Detected &amp;nbsp;Intel® HD Graphics 4400 &amp;nbsp;&lt;BR /&gt;
	Current Driver Installed &amp;nbsp;10.18.10.3907 &amp;nbsp;&lt;BR /&gt;
	Your driver is current. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;Intel® SDK for OpenCL Applications 2014 version 4.6.0.92&lt;/P&gt;

&lt;P&gt;My code would no longer compile. &amp;nbsp;The errors is:&lt;/P&gt;

&lt;P&gt;Warning&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;warning C4996: 'clCreateSampler': was declared deprecated&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;4312&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	Warning&amp;nbsp;&amp;nbsp; &amp;nbsp;2&amp;nbsp;&amp;nbsp; &amp;nbsp;warning C4996: 'clCreateCommandQueue': was declared deprecated&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;5118&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	Warning&amp;nbsp;&amp;nbsp; &amp;nbsp;3&amp;nbsp;&amp;nbsp; &amp;nbsp;warning C4996: 'clCreateCommandQueue': was declared deprecated&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;5148&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	Warning&amp;nbsp;&amp;nbsp; &amp;nbsp;4&amp;nbsp;&amp;nbsp; &amp;nbsp;warning C4996: 'clCreateCommandQueue': was declared deprecated&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;5166&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	Warning&amp;nbsp;&amp;nbsp; &amp;nbsp;5&amp;nbsp;&amp;nbsp; &amp;nbsp;warning C4996: 'clEnqueueTask': was declared deprecated&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;5947&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;6&amp;nbsp;&amp;nbsp; &amp;nbsp;IntelliSense: member "cl::detail::Wrapper&amp;lt;cl_device_id&amp;gt;::object_" (declared at line 1787 of "C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL/cl.hpp") is inaccessible&amp;nbsp;&amp;nbsp; &amp;nbsp;c:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;1819&amp;nbsp;&amp;nbsp; &amp;nbsp;23&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;7&amp;nbsp;&amp;nbsp; &amp;nbsp;IntelliSense: member "cl::detail::Wrapper&amp;lt;cl_device_id&amp;gt;::object_" (declared at line 1787 of "C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL/cl.hpp") is inaccessible&amp;nbsp;&amp;nbsp; &amp;nbsp;c:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;1827&amp;nbsp;&amp;nbsp; &amp;nbsp;23&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;8&amp;nbsp;&amp;nbsp; &amp;nbsp;IntelliSense: member "cl::detail::Wrapper&amp;lt;cl_device_id&amp;gt;::referenceCountable_" (declared at line 1788 of "C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL/cl.hpp") is inaccessible&amp;nbsp;&amp;nbsp; &amp;nbsp;c:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;1828&amp;nbsp;&amp;nbsp; &amp;nbsp;35&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;/P&gt;

&lt;P&gt;Is this because of version incompatiblity? If so, is there a way I can find out the correct version and specifically build my application against that version?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Oct 2014 02:55:24 GMT</pubDate>
    <dc:creator>WeiChong_T_Intel</dc:creator>
    <dc:date>2014-10-13T02:55:24Z</dc:date>
    <item>
      <title>Existing code using OpenCL C++ Wrapper would not compile properly</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Existing-code-using-OpenCL-C-Wrapper-would-not-compile-properly/m-p/1022360#M3350</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have an existing C++ application that uses OpenCL C++ Wrapper API, which compiled on an earlier Intel OpenCL SDK (I forgot the version), but after I upgrade my laptop to Windows 8.1, Visual Studio 2013 Ultmate, with the below spec:&lt;/P&gt;

&lt;P&gt;Intel® Driver Update Utility&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Product Detected &amp;nbsp;Intel® HD Graphics 4400 &amp;nbsp;&lt;BR /&gt;
	Current Driver Installed &amp;nbsp;10.18.10.3907 &amp;nbsp;&lt;BR /&gt;
	Your driver is current. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;Intel® SDK for OpenCL Applications 2014 version 4.6.0.92&lt;/P&gt;

&lt;P&gt;My code would no longer compile. &amp;nbsp;The errors is:&lt;/P&gt;

&lt;P&gt;Warning&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;warning C4996: 'clCreateSampler': was declared deprecated&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;4312&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	Warning&amp;nbsp;&amp;nbsp; &amp;nbsp;2&amp;nbsp;&amp;nbsp; &amp;nbsp;warning C4996: 'clCreateCommandQueue': was declared deprecated&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;5118&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	Warning&amp;nbsp;&amp;nbsp; &amp;nbsp;3&amp;nbsp;&amp;nbsp; &amp;nbsp;warning C4996: 'clCreateCommandQueue': was declared deprecated&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;5148&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	Warning&amp;nbsp;&amp;nbsp; &amp;nbsp;4&amp;nbsp;&amp;nbsp; &amp;nbsp;warning C4996: 'clCreateCommandQueue': was declared deprecated&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;5166&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	Warning&amp;nbsp;&amp;nbsp; &amp;nbsp;5&amp;nbsp;&amp;nbsp; &amp;nbsp;warning C4996: 'clEnqueueTask': was declared deprecated&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;5947&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;6&amp;nbsp;&amp;nbsp; &amp;nbsp;IntelliSense: member "cl::detail::Wrapper&amp;lt;cl_device_id&amp;gt;::object_" (declared at line 1787 of "C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL/cl.hpp") is inaccessible&amp;nbsp;&amp;nbsp; &amp;nbsp;c:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;1819&amp;nbsp;&amp;nbsp; &amp;nbsp;23&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;7&amp;nbsp;&amp;nbsp; &amp;nbsp;IntelliSense: member "cl::detail::Wrapper&amp;lt;cl_device_id&amp;gt;::object_" (declared at line 1787 of "C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL/cl.hpp") is inaccessible&amp;nbsp;&amp;nbsp; &amp;nbsp;c:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;1827&amp;nbsp;&amp;nbsp; &amp;nbsp;23&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;8&amp;nbsp;&amp;nbsp; &amp;nbsp;IntelliSense: member "cl::detail::Wrapper&amp;lt;cl_device_id&amp;gt;::referenceCountable_" (declared at line 1788 of "C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL/cl.hpp") is inaccessible&amp;nbsp;&amp;nbsp; &amp;nbsp;c:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp&amp;nbsp;&amp;nbsp; &amp;nbsp;1828&amp;nbsp;&amp;nbsp; &amp;nbsp;35&amp;nbsp;&amp;nbsp; &amp;nbsp;OpenCLProject1&lt;/P&gt;

&lt;P&gt;Is this because of version incompatiblity? If so, is there a way I can find out the correct version and specifically build my application against that version?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 02:55:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Existing-code-using-OpenCL-C-Wrapper-would-not-compile-properly/m-p/1022360#M3350</guid>
      <dc:creator>WeiChong_T_Intel</dc:creator>
      <dc:date>2014-10-13T02:55:24Z</dc:date>
    </item>
    <item>
      <title>Wei Chong,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Existing-code-using-OpenCL-C-Wrapper-would-not-compile-properly/m-p/1022361#M3351</link>
      <description>&lt;P&gt;Wei Chong,&lt;/P&gt;

&lt;P&gt;Were you able to resolve the issue? Is this the same project that you sent me? I haven't encountered this particular problem. Could you send me the project with this issue directly to my email.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 18:38:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Existing-code-using-OpenCL-C-Wrapper-would-not-compile-properly/m-p/1022361#M3351</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2014-10-14T18:38:57Z</dc:date>
    </item>
  </channel>
</rss>

