<?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:dpct exited with code -5 in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-exited-with-code-5/m-p/1198981#M632</link>
    <description>&lt;P&gt;Intel will no longer monitor this thread. However, this thread will remain open for any community discussion.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 10 Aug 2020 10:20:19 GMT</pubDate>
    <dc:creator>RahulV_intel</dc:creator>
    <dc:date>2020-08-10T10:20:19Z</dc:date>
    <item>
      <title>dpct exited with code -5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-exited-with-code-5/m-p/1197261#M622</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I was converting&amp;nbsp;&lt;A href="https://github.com/vincentfpgarcia/kNN-CUDA/blob/master/code/knncuda.cu" target="_self"&gt;knncuda.cu&lt;/A&gt;&amp;nbsp;from&amp;nbsp;&lt;A href="https://github.com/vincentfpgarcia/kNN-CUDA" target="_self"&gt;kNN-CUDA&lt;/A&gt;&amp;nbsp;repo using latest dpct (beta08) but I'm constantly getting the error:&lt;/P&gt;
&lt;P&gt;dpct exited with code: -5 (Error: Path for CUDA header files is invalid or not available. Specify with --cuda-include-path)&lt;/P&gt;
&lt;P&gt;even when I specify cuda path in the command&lt;/P&gt;
&lt;P&gt;Command:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dpct --cuda-include-path=/usr/local/cuda/include --out-root=dpct knncuda.cu&lt;/LI-CODE&gt;
&lt;P&gt;dpct version: 2021.1-beta08&lt;/P&gt;
&lt;P&gt;System: Ubuntu 18.04.4 LTS&lt;/P&gt;
&lt;P&gt;I have installed cuda (release11.0, V11.0.194) and cuda include files are present in /usr/local/cuda/include folder. I am able to run intercept-build to generate commpile_commands.json file andable to build application using nvcc.&lt;/P&gt;
&lt;P&gt;I even reinstalled cuda and oneapi base toolkit again but I am still getting the same error.&lt;/P&gt;
&lt;P&gt;What can cause dpct to fail with this error? Any suggestions?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Gagan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 12:25:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-exited-with-code-5/m-p/1197261#M622</guid>
      <dc:creator>Shukla__Gagandeep</dc:creator>
      <dc:date>2020-08-04T12:25:01Z</dc:date>
    </item>
    <item>
      <title>Re:dpct exited with code -5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-exited-with-code-5/m-p/1197501#M624</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Hi Gagan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;CUDA version 11.0 is currently not supported as per the latest DPCT system requirements. The supported CUDA versions are 8.0, 9.x, 10.1, 10.2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Kindly refer to the DPCT system requirements link for more details:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-dpc-compatibility-tool-system-requirements.html" rel="noopener noreferrer" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-dpc-compatibility-tool-system-requirements.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have not come across any issues while migrating knncuda.cu using CUDA 10.2 headers.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let me know if it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Aug 2020 06:23:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-exited-with-code-5/m-p/1197501#M624</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2020-08-05T06:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re:dpct exited with code -5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-exited-with-code-5/m-p/1197623#M627</link>
      <description>&lt;P&gt;Hi Rahul,&lt;/P&gt;
&lt;P&gt;Sorry, my bad. I did not check the requirements and installed wrong version.&lt;BR /&gt;I installed CUDA 10.2 now and dpct is working fine.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Gagan&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 13:39:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-exited-with-code-5/m-p/1197623#M627</guid>
      <dc:creator>Shukla__Gagandeep</dc:creator>
      <dc:date>2020-08-05T13:39:18Z</dc:date>
    </item>
    <item>
      <title>Re:dpct exited with code -5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-exited-with-code-5/m-p/1197880#M629</link>
      <description>&lt;P&gt;Hi Gagan,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Good to know that it works. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let me know if I can close the thread from my end.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Aug 2020 05:50:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-exited-with-code-5/m-p/1197880#M629</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2020-08-06T05:50:25Z</dc:date>
    </item>
    <item>
      <title>Re:dpct exited with code -5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-exited-with-code-5/m-p/1198981#M632</link>
      <description>&lt;P&gt;Intel will no longer monitor this thread. However, this thread will remain open for any community discussion.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Aug 2020 10:20:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-exited-with-code-5/m-p/1198981#M632</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2020-08-10T10:20:19Z</dc:date>
    </item>
  </channel>
</rss>

