<?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:Precompiled header in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Precompiled-header/m-p/1487049#M3071</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sorry to let you know, the error you are seeing is a bug that has existed since the initial release of the oneAPI product, we have informed the development team about it.&lt;/P&gt;&lt;P&gt;At present, we do not have any workarounds. We are not sure of ETA. We will let you know once the bug is fixed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the Precompiled Headers option in VS DPC++ project, we can also add the option in project properties once the issue is fixed in the compiler.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Pendyala Sesha Srinivas&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 17 May 2023 15:21:11 GMT</pubDate>
    <dc:creator>SeshaP_Intel</dc:creator>
    <dc:date>2023-05-17T15:21:11Z</dc:date>
    <item>
      <title>Precompiled header</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Precompiled-header/m-p/1477049#M2975</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to use DPC++ for my solution (Windows11/VS2022 - latest update). I noticed that it takes extrem long to compile the complete solution. My guess is that it is because the compiler does not use precompiled headers - there is no option in the project settings to enable it (other than for MSVC and ICX).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Intel C++ 2023:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_D_0-1681547957666.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/40296i8E6367D56224A004/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Daniel_D_0-1681547957666.png" alt="Daniel_D_0-1681547957666.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Intel DPC++ 2023 - no Precompiled Headers:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_D_1-1681548008900.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/40297i75BE776AE745DE65/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Daniel_D_1-1681548008900.png" alt="Daniel_D_1-1681548008900.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to improve the compiler-performance of DPC++?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2023 08:40:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Precompiled-header/m-p/1477049#M2975</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2023-04-15T08:40:30Z</dc:date>
    </item>
    <item>
      <title>Re:Precompiled header</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Precompiled-header/m-p/1477409#M2980</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting in Intel Communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please try adding the /Yu flag in the command line options in Visual Studio properties which tells the compiler to use a precompiled header file?&lt;/P&gt;&lt;P&gt;Please refer to the below link for more details.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2023-1/yu.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2023-1/yu.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please let us know if you still face any issues.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Pendyala Sesha Srinivas&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Apr 2023 09:41:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Precompiled-header/m-p/1477409#M2980</guid>
      <dc:creator>SeshaP_Intel</dc:creator>
      <dc:date>2023-04-17T09:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Precompiled header</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Precompiled-header/m-p/1477491#M2981</link>
      <description>&lt;P&gt;Hi Pendyala,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for your fast reply. I added /Yu with the filename of the pch and see now this error:&lt;/P&gt;
&lt;P&gt;5&amp;gt; error: Assume convergent functions was disabled in PCH file but is currently ena&lt;/P&gt;
&lt;P&gt;bled&lt;BR /&gt;5&amp;gt; error: PCH file was compiled for the target 'x86_64-pc-windows-msvc19.35.32217' but the current translation unit is being compiled for target 'spir64-unknown-unknown'&lt;BR /&gt;5&amp;gt; 2 errors generated.&lt;BR /&gt;5&amp;gt; C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel(R) oneAPI DPC++ Compiler 2023\Toolset.targets(192,5): error MSB6006: "icx-cl.exe" exited with code 1.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea what I'm doing wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 14:32:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Precompiled-header/m-p/1477491#M2981</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2023-04-17T14:32:41Z</dc:date>
    </item>
    <item>
      <title>Re:Precompiled header</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Precompiled-header/m-p/1479491#M3003</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We were able to reproduce your issue. We are working on this internally.&lt;/P&gt;&lt;P&gt;We will get back to you soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Pendyala Sesha Srinivas&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Apr 2023 05:49:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Precompiled-header/m-p/1479491#M3003</guid>
      <dc:creator>SeshaP_Intel</dc:creator>
      <dc:date>2023-04-24T05:49:42Z</dc:date>
    </item>
    <item>
      <title>Re:Precompiled header</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Precompiled-header/m-p/1487049#M3071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sorry to let you know, the error you are seeing is a bug that has existed since the initial release of the oneAPI product, we have informed the development team about it.&lt;/P&gt;&lt;P&gt;At present, we do not have any workarounds. We are not sure of ETA. We will let you know once the bug is fixed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the Precompiled Headers option in VS DPC++ project, we can also add the option in project properties once the issue is fixed in the compiler.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Pendyala Sesha Srinivas&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 May 2023 15:21:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Precompiled-header/m-p/1487049#M3071</guid>
      <dc:creator>SeshaP_Intel</dc:creator>
      <dc:date>2023-05-17T15:21:11Z</dc:date>
    </item>
  </channel>
</rss>

