<?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: Invalid _CL_Platform error in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1266216#M6883</link>
    <description>&lt;P&gt;2 notes:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In my investigation of exactly this error (happened when trying to compile external OpenCL project) we've found the resolution: you should install OpenCL runtime in additions OpenCL SDK&lt;BR /&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/opencl-drivers.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/articles/opencl-drivers.html&lt;/A&gt;&lt;BR /&gt;Actually, it is "old" SW, there is the modern and&amp;nbsp;(in our opinion) preferred one:&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Install oneAPI Base toolkit, select in your OpenCL project DPC++ compiler toolset, and the OpenCL project will be compiled/run as well.&lt;BR /&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit.html&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Have a good luck !&lt;/P&gt;</description>
    <pubDate>Sat, 20 Mar 2021 08:00:31 GMT</pubDate>
    <dc:creator>Zvi_D_Intel</dc:creator>
    <dc:date>2021-03-20T08:00:31Z</dc:date>
    <item>
      <title>Invalid _CL_Platform error</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064558#M4288</link>
      <description>&lt;P&gt;Hi I am trying to run OpenCL on Intel 2310 core i3 2nd generation. I have configured VS 2013(Professional) for OpenCL. &amp;nbsp;When I try to create a new opencl project a message appers:&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;"Failed to retrieve number of devices:-32(CL_Invalid_Platform) &amp;nbsp;" &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;But it still creates the OpenCL project.When I run a simple hello world OpenCL &amp;nbsp;program.VS2013 doesn't builds it. gives following error&lt;/P&gt;

&lt;P&gt;OUTPUT window:&lt;/P&gt;

&lt;P&gt;1&amp;gt;------ Build started: Project: Opencl1, Configuration: Debug x64 ------&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Preprocessing: OpenCLFile.cl&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Ignoring -TARGETOS option - not supported for 64-bit version of this tool&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Setting target instruction set architecture to: Default (Advanced Vector Extension (AVX))&lt;BR /&gt;
	1&amp;gt;D:\MS Course\3rd Semster\Integrated Project\openCL codes\Opencl1\Opencl1\OpenCLFile.cl : error CL: Failed to get platform id...: 0 (CL_SUCCESS)&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Build failed!&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;&lt;BR /&gt;
	1&amp;gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\IntelOpenCL.targets(98,5): error MSB3721: The command ""C:\Program Files (x86)\Intel\OpenCL SDK\5.3\bin\x64\ioc64.exe" -cmd=build -input="D:\MS Course\3rd Semster\Integrated Project\openCL codes\Opencl1\Opencl1\OpenCLFile.cl" -output="x64\Debug\OpenCLFile.out" -VS -device=CPU -simd=default -targetos=current &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-bo=" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "" exited with code -1.&lt;BR /&gt;
	========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 16:36:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064558#M4288</guid>
      <dc:creator>bilal_a_1</dc:creator>
      <dc:date>2015-12-24T16:36:41Z</dc:date>
    </item>
    <item>
      <title>Hi Bilal,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064559#M4289</link>
      <description>&lt;P&gt;Hi Bilal,&lt;/P&gt;

&lt;P&gt;Which OpenCL release you have installed on your system?&lt;BR /&gt;
	To set the expectation right - OpenCL1.2 feature is supported on the platform you are using. Also, GPU processing is not supported on this platform. You can get details from "system requirement" section in the release notes -&amp;nbsp;https://software.intel.com/en-us/articles/opencl-code-builder-release-notes. Also, would recommend you to check "known limitation" section since your system is a pretty old configuration.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hope this information helps.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Surbhi&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 17:34:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064559#M4289</guid>
      <dc:creator>Surbhi_M_Intel</dc:creator>
      <dc:date>2015-12-24T17:34:23Z</dc:date>
    </item>
    <item>
      <title>Hi thanks for commenting</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064560#M4290</link>
      <description>&lt;P&gt;Hi thanks for commenting.Actually I am using OpenCL sdk 2015. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 19:53:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064560#M4290</guid>
      <dc:creator>bilal_a_1</dc:creator>
      <dc:date>2015-12-24T19:53:02Z</dc:date>
    </item>
    <item>
      <title>Yeah OpenCL1.2 is supported</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064561#M4291</link>
      <description>&lt;P&gt;Yeah OpenCL1.2 is supported for my system.Should I use VS2015 with Intel SDK 2015 APP?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 20:06:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064561#M4291</guid>
      <dc:creator>bilal_a_1</dc:creator>
      <dc:date>2015-12-24T20:06:37Z</dc:date>
    </item>
    <item>
      <title>Hi Bilal,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064562#M4292</link>
      <description>&lt;P&gt;Hi Bilal,&lt;/P&gt;

&lt;P&gt;I believe you have an outdated CPU. I don't think switching to VS2015 will help. You will need a different computer, preferably from 2012 or later. 2013 or later highly recommended.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2016 23:14:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064562#M4292</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2016-01-06T23:14:40Z</dc:date>
    </item>
    <item>
      <title>I have the same error but</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064563#M4293</link>
      <description>&lt;P&gt;I have the same error but unlike above, I bought my PC in 2018 and my PC has all the specified requirements. Please help.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 08:47:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064563#M4293</guid>
      <dc:creator>saluja__japneet_kaur</dc:creator>
      <dc:date>2019-06-10T08:47:42Z</dc:date>
    </item>
    <item>
      <title>Hi JapneetS,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064564#M4294</link>
      <description>&lt;P&gt;Hi JapneetS,&lt;/P&gt;&lt;P&gt;Can you please supply the details &lt;A href="https://software.intel.com/en-us/articles/ocl-issue-reporting-guide"&gt;specified here&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;What version of Visual Studio is in use?&lt;/P&gt;&lt;P&gt;What version of the developer tools is in use?&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-sdk-for-opencl-applications-release-notes"&gt;Requirements Reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-MichaelC&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 21:57:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064564#M4294</guid>
      <dc:creator>Michael_C_Intel1</dc:creator>
      <dc:date>2019-06-10T21:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid _CL_Platform error</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1266216#M6883</link>
      <description>&lt;P&gt;2 notes:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In my investigation of exactly this error (happened when trying to compile external OpenCL project) we've found the resolution: you should install OpenCL runtime in additions OpenCL SDK&lt;BR /&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/opencl-drivers.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/articles/opencl-drivers.html&lt;/A&gt;&lt;BR /&gt;Actually, it is "old" SW, there is the modern and&amp;nbsp;(in our opinion) preferred one:&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Install oneAPI Base toolkit, select in your OpenCL project DPC++ compiler toolset, and the OpenCL project will be compiled/run as well.&lt;BR /&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit.html&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Have a good luck !&lt;/P&gt;</description>
      <pubDate>Sat, 20 Mar 2021 08:00:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1266216#M6883</guid>
      <dc:creator>Zvi_D_Intel</dc:creator>
      <dc:date>2021-03-20T08:00:31Z</dc:date>
    </item>
  </channel>
</rss>

