<?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: C++20 #include &amp;lt;concepts&amp;gt;, oneAPI 2025.1 Linux in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1671874#M4327</link>
    <description>&lt;P&gt;I don't think we have released oneAPI2025.1.&lt;/P&gt;
&lt;P&gt;The test case compiled with oneAPI2025.0.1.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ icpx concept.cpp -c -V&lt;BR /&gt;Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2025.0.4 Build 20241205&lt;BR /&gt;Copyright (C) 1985-2024 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;$ cat concept.cpp&lt;BR /&gt;#include &amp;lt;concepts&amp;gt;&lt;/P&gt;
&lt;P&gt;double add(double x, double y) {&lt;BR /&gt;return x + y;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Which gcc version you have on your host?&lt;/P&gt;</description>
    <pubDate>Tue, 04 Mar 2025 01:07:20 GMT</pubDate>
    <dc:creator>Viet_H_Intel</dc:creator>
    <dc:date>2025-03-04T01:07:20Z</dc:date>
    <item>
      <title>C++20 #include &lt;concepts&gt;, oneAPI 2025.1 Linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1671163#M4322</link>
      <description>&lt;P&gt;In oneAPI 2025.1, the attached test program fails to compile as-is ("icpx -c concept.cpp")&lt;/P&gt;&lt;P&gt;It complains about the include file not being found.&lt;/P&gt;&lt;P&gt;I can get the code to compile by including the absolute path to concepts.hpp, but I shouldn't have to. Also, the above code works fine in oneAPI 2024.1. Is there a trick to using C++20 concepts in 2025.1?&lt;/P&gt;&lt;P&gt;#include &amp;lt;concepts&amp;gt;&lt;/P&gt;&lt;P&gt;double add(double x, double y) {&lt;BR /&gt;return x + y;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 23:04:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1671163#M4322</guid>
      <dc:creator>drcolossus</dc:creator>
      <dc:date>2025-02-28T23:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: C++20 #include &lt;concepts&gt;, oneAPI 2025.1 Linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1671874#M4327</link>
      <description>&lt;P&gt;I don't think we have released oneAPI2025.1.&lt;/P&gt;
&lt;P&gt;The test case compiled with oneAPI2025.0.1.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ icpx concept.cpp -c -V&lt;BR /&gt;Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2025.0.4 Build 20241205&lt;BR /&gt;Copyright (C) 1985-2024 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;$ cat concept.cpp&lt;BR /&gt;#include &amp;lt;concepts&amp;gt;&lt;/P&gt;
&lt;P&gt;double add(double x, double y) {&lt;BR /&gt;return x + y;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Which gcc version you have on your host?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 01:07:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1671874#M4327</guid>
      <dc:creator>Viet_H_Intel</dc:creator>
      <dc:date>2025-03-04T01:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: C++20 #include &lt;concepts&gt;, oneAPI 2025.1 Linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1671903#M4328</link>
      <description>&lt;P&gt;Thanks for your reply. Our IT people installed it under the name "oneAPI 2025.1" but it appears to actually be 2025.0.1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ icpx concepts.cpp -c -V&lt;BR /&gt;Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2025.0.4 Build 20241205&lt;BR /&gt;Copyright (C) 1985-2024 Intel Corporation. All rights reserved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for gcc, I'm using the base RHEL 8.1 compilers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ gcc --version&lt;BR /&gt;gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22)&lt;BR /&gt;Copyright (C) 2018 Free Software Foundation, Inc.&lt;BR /&gt;This is free software; see the source for copying conditions. There is NO&lt;BR /&gt;warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 02:17:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1671903#M4328</guid>
      <dc:creator>drcolossus</dc:creator>
      <dc:date>2025-03-04T02:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: C++20 #include &lt;concepts&gt;, oneAPI 2025.1 Linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1671905#M4329</link>
      <description>&lt;P&gt;One curious observation is that while our 2024.1 folder has these two files named "concepts*":&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;$MKL_ROOT/include/oneapi/mkl/lapack/concepts.hpp&lt;BR /&gt;$DPL_ROOT/include/pstl_offload/concepts&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Our 2025.0 folder only has this one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;$MKL_ROOT/include/oneapi/mkl/lapack/concepts.hpp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I can tell, the IT dept selected all of the available options when installing. Could the installer have silently skipped installing the SYCL offload packages for some reason?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 02:31:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1671905#M4329</guid>
      <dc:creator>drcolossus</dc:creator>
      <dc:date>2025-03-04T02:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: C++20 #include &lt;concepts&gt;, oneAPI 2025.1 Linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1671917#M4330</link>
      <description>&lt;P&gt;icpx will be compatible with Gnu version on your host.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Will you get the same error if you do "g++ concept.cpp -c"?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 02:46:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1671917#M4330</guid>
      <dc:creator>Viet_H_Intel</dc:creator>
      <dc:date>2025-03-04T02:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: C++20 #include &lt;concepts&gt;, oneAPI 2025.1 Linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1672178#M4332</link>
      <description>&lt;P&gt;It doesn't work on g++ either:&lt;/P&gt;&lt;P&gt;$ g++ --version&lt;BR /&gt;g++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22)&lt;BR /&gt;Copyright (C) 2018 Free Software Foundation, Inc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ g++ -c concepts.cpp&lt;BR /&gt;concepts.cpp:1:10: fatal error: concepts: No such file or directory&lt;BR /&gt;#include &amp;lt;concepts&amp;gt;&lt;BR /&gt;^~~~~~~~~~&lt;BR /&gt;compilation terminated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 17:26:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1672178#M4332</guid>
      <dc:creator>drcolossus</dc:creator>
      <dc:date>2025-03-04T17:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: C++20 #include &lt;concepts&gt;, oneAPI 2025.1 Linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1672179#M4333</link>
      <description>&lt;P&gt;Aha! If I enable RHEL8's gcc-toolset-10 or later it works! It does not work with gcc-toolset-9 or the stock gcc 8.5. The oneAPI 2025.0 &lt;A href="https://www.intel.com/content/www/us/en/developer/articles/system-requirements/oneapi-dpcpp/2025.html" target="_self"&gt;system requirements&lt;/A&gt; say that GCC 7.5 ought to be good enough, but that does not seem to be the case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gcc-toolset-10 provides the concepts file, but gcc-toolset-9 does not:&lt;/P&gt;&lt;P&gt;$ rpm -ql gcc-toolset-9-libstdc++-devel | grep concepts&lt;/P&gt;&lt;P&gt;$ rpm -ql gcc-toolset-10-libstdc++-devel | grep concepts&lt;BR /&gt;/opt/rh/gcc-toolset-10/root/usr/include/c++/10/bits/iterator_concepts.h&lt;BR /&gt;/opt/rh/gcc-toolset-10/root/usr/include/c++/10/concepts&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 17:26:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1672179#M4333</guid>
      <dc:creator>drcolossus</dc:creator>
      <dc:date>2025-03-04T17:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: C++20 #include &lt;concepts&gt;, oneAPI 2025.1 Linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1672180#M4334</link>
      <description>&lt;P&gt;In fact there's a note on this specific symptom &lt;A href="https://www.intel.com/content/www/us/en/developer/articles/troubleshooting/error-c-header-file-not-found-with-dpc-c-compiler.html" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;So I guess the guidance for my user is to use gcc-toolset-10 or later when using 2025.0. For 2024 or earlier it appears that you can use RHEL8's default GCC 8.5.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 17:28:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1672180#M4334</guid>
      <dc:creator>drcolossus</dc:creator>
      <dc:date>2025-03-04T17:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: C++20 #include &lt;concepts&gt;, oneAPI 2025.1 Linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1672186#M4335</link>
      <description>&lt;P&gt;&lt;EM&gt;For 2024 or earlier it appears that you can use RHEL8's default GCC 8.5.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I doubt that oneAPI2024.* won't error out with gcc8.5&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 17:50:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/C-20-include-lt-concepts-gt-oneAPI-2025-1-Linux/m-p/1672186#M4335</guid>
      <dc:creator>Viet_H_Intel</dc:creator>
      <dc:date>2025-03-04T17:50:28Z</dc:date>
    </item>
  </channel>
</rss>

