<?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 OpenCL CPU Runtime template build error - CL Failed to get platform id in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-CPU-Runtime-template-build-error-CL-Failed-to-get/m-p/1375610#M7006</link>
    <description>&lt;P&gt;&lt;SPAN&gt;(This may be the third post because I’ve posted this twice before but for some reason don’t see it showing up in the forum. Perhaps it’s because of the attachments or hyperlinks?)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In MSVC 2019 I created a new OpenCL CPU runtime template project and tried to build it (no changes were made to the code)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Below is the error I get:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Severity Code Description Project File Line Suppression State&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error CL Failed to get platform id...: 0 (CL_SUCCESS) CPUOpenCLProjectforWindows1 C:\Users\epatt\source\repos\CPUOpenCLProjectforWindows1\Template.cl 1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Severity Code Description Project File Line Suppression State&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error MSB3721 The command ""C:\Program Files (x86)\IntelSWTools\system_studio_2020\OpenCL\sdk\bin\x86\ioc32.exe" -cmd=build -input="C:\Users\epatt\source\repos\CPUOpenCLProjectforWindows1\Template.cl" -output="Debug\Template.out" -VS -device=CPU -targetos=current -bo=" "" exited with code 14. CPUOpenCLProjectforWindows1 C:\Program Files (x86)\IntelSWTools\system_studio_2020\OpenCL\sdk\BuildCustomizations\IntelOpenCL.targets 49&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have clinfo output and the MSVC -&amp;gt; About info that I’ll attach to this thread once I see the post in the forum (in case that is what prevents this question from being posted&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My laptop (Dell Inspiron&amp;nbsp;5567 Gen 7)&amp;nbsp;has the Intel® Core™ i5-7200U Processor with integrated&amp;nbsp;Intel® HD Graphics 620. There are no other graphics cards.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The Device Manager says the graphics driver is&amp;nbsp;30.0.101.1660 3/18/2022. It was installed using the&amp;nbsp;Intel Support&amp;nbsp;assistant&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The SDK I installed is&amp;nbsp;intel_sdk_for_opencl_applications_2020.3.494&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2022 15:20:26 GMT</pubDate>
    <dc:creator>SailingDreams</dc:creator>
    <dc:date>2022-04-08T15:20:26Z</dc:date>
    <item>
      <title>OpenCL CPU Runtime template build error - CL Failed to get platform id</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-CPU-Runtime-template-build-error-CL-Failed-to-get/m-p/1375610#M7006</link>
      <description>&lt;P&gt;&lt;SPAN&gt;(This may be the third post because I’ve posted this twice before but for some reason don’t see it showing up in the forum. Perhaps it’s because of the attachments or hyperlinks?)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In MSVC 2019 I created a new OpenCL CPU runtime template project and tried to build it (no changes were made to the code)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Below is the error I get:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Severity Code Description Project File Line Suppression State&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error CL Failed to get platform id...: 0 (CL_SUCCESS) CPUOpenCLProjectforWindows1 C:\Users\epatt\source\repos\CPUOpenCLProjectforWindows1\Template.cl 1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Severity Code Description Project File Line Suppression State&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error MSB3721 The command ""C:\Program Files (x86)\IntelSWTools\system_studio_2020\OpenCL\sdk\bin\x86\ioc32.exe" -cmd=build -input="C:\Users\epatt\source\repos\CPUOpenCLProjectforWindows1\Template.cl" -output="Debug\Template.out" -VS -device=CPU -targetos=current -bo=" "" exited with code 14. CPUOpenCLProjectforWindows1 C:\Program Files (x86)\IntelSWTools\system_studio_2020\OpenCL\sdk\BuildCustomizations\IntelOpenCL.targets 49&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have clinfo output and the MSVC -&amp;gt; About info that I’ll attach to this thread once I see the post in the forum (in case that is what prevents this question from being posted&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My laptop (Dell Inspiron&amp;nbsp;5567 Gen 7)&amp;nbsp;has the Intel® Core™ i5-7200U Processor with integrated&amp;nbsp;Intel® HD Graphics 620. There are no other graphics cards.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The Device Manager says the graphics driver is&amp;nbsp;30.0.101.1660 3/18/2022. It was installed using the&amp;nbsp;Intel Support&amp;nbsp;assistant&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The SDK I installed is&amp;nbsp;intel_sdk_for_opencl_applications_2020.3.494&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 15:20:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-CPU-Runtime-template-build-error-CL-Failed-to-get/m-p/1375610#M7006</guid>
      <dc:creator>SailingDreams</dc:creator>
      <dc:date>2022-04-08T15:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCL CPU Runtime template build error - CL Failed to get platform id</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-CPU-Runtime-template-build-error-CL-Failed-to-get/m-p/1377878#M7016</link>
      <description>&lt;P&gt;This is a duplicate of the one below. Please delete this post&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.intel.com/t5/OpenCL-for-CPU/Error-in-building-OpenCL-for-CPU-Runtime-Template-Failed-to-get/m-p/1375595#M7005" target="_blank"&gt;https://community.intel.com/t5/OpenCL-for-CPU/Error-in-building-OpenCL-for-CPU-Runtime-Template-Failed-to-get/m-p/1375595#M7005&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 17:49:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-CPU-Runtime-template-build-error-CL-Failed-to-get/m-p/1377878#M7016</guid>
      <dc:creator>SailingDreams</dc:creator>
      <dc:date>2022-04-18T17:49:56Z</dc:date>
    </item>
  </channel>
</rss>

