<?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 Invalid _CL_Platform error in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064183#M4269</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:37:27 GMT</pubDate>
    <dc:creator>bilal_a_1</dc:creator>
    <dc:date>2015-12-24T16:37:27Z</dc:date>
    <item>
      <title>Invalid _CL_Platform error</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064183#M4269</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:37:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064183#M4269</guid>
      <dc:creator>bilal_a_1</dc:creator>
      <dc:date>2015-12-24T16:37:27Z</dc:date>
    </item>
    <item>
      <title>Duplicate of https://software</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064184#M4270</link>
      <description>&lt;P&gt;Duplicate of&amp;nbsp;https://software.intel.com/en-us/forums/opencl/topic/605570 issue, hence closing it.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;-Surbhi&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 18:20:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Invalid-CL-Platform-error/m-p/1064184#M4270</guid>
      <dc:creator>Surbhi_M_Intel</dc:creator>
      <dc:date>2015-12-24T18:20:35Z</dc:date>
    </item>
  </channel>
</rss>

