<?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:DPC++ compatibility tool error, oneAPI samples, Devcloud in Migrating to SYCL</title>
    <link>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1259228#M103</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation. Intel will no longer monitor this thread. Further discussions on this thread will be considered community only.&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;BR /&gt;</description>
    <pubDate>Thu, 25 Feb 2021 09:29:17 GMT</pubDate>
    <dc:creator>RahulV_intel</dc:creator>
    <dc:date>2021-02-25T09:29:17Z</dc:date>
    <item>
      <title>DPC++ compatibility tool error, oneAPI samples, Devcloud</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1253255#M95</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to run one of the oneAPI samples for Cuda code migration on the devcloud.&lt;/P&gt;
&lt;P&gt;The code I'm running is&amp;nbsp;&lt;A href="https://github.com/oneapi-src/oneAPI-samples/tree/master/Tools/Migration/folder-options-dpct" target="_blank"&gt;https://github.com/oneapi-src/oneAPI-samples/tree/master/Tools/Migration/folder-options-dpct&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run the command in the README.md, I get the following:&lt;/P&gt;
&lt;P&gt;Case1:&lt;/P&gt;
&lt;P&gt;dpct --in-root=foo --out-root=result/foo foo/main.cu foo/bar/util.cu --extra-arg="-Ifoo/bar/"&lt;/P&gt;
&lt;P&gt;dpct exited with code: -5 (Error: Path for CUDA header files is invalid or not available. Use --cuda-include-path to specify the correct path to the header files)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I add the path to include/cude, I get the following:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Case2:&lt;/P&gt;
&lt;P&gt;dpct --cuda-include-path=&amp;lt;path to cuda&amp;gt;/include --in-root=foo --out-root=result/foo foo/main.cu foo/bar/util.cu --extra-arg="-Ifoo/bar/"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Processing: /home/u52/workstation/CudaToDPC++/oneAPI-samples/Tools/Migration/folder-options-dpct/foo/main.cu&lt;BR /&gt;Skipping /home/u52/workstation/CudaToDPC++/oneAPI-samples/Tools/Migration/folder-options-dpct/foo/main.cu. Compile command not found.&lt;BR /&gt;Processing: /home/u52/workstation/CudaToDPC++/oneAPI-samples/Tools/Migration/folder-options-dpct/foo/bar/util.cu&lt;BR /&gt;Skipping /home/u52/workstation/CudaToDPC++/oneAPI-samples/Tools/Migration/folder-options-dpct/foo/bar/util.cu. Compile command not found.&lt;BR /&gt;dpct exited with code: 1 (Migration not necessary; no CUDA code detected)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is the DPC++ compatibility tool supported on Devcloud? and is there any documentation for using the tool on the Devcloud?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 21:16:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1253255#M95</guid>
      <dc:creator>Eltablawy__Alaa</dc:creator>
      <dc:date>2021-02-04T21:16:53Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ compatibility tool error, oneAPI samples, Devcloud</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1254407#M96</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have tried the steps (given in the tutorial) in my environment. The migration and compilation/run were successful in my case.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please specify your CUDA toolkit?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;DPCT requirements:&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" 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;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Feb 2021 10:42:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1254407#M96</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2021-02-09T10:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re:DPC++ compatibility tool error, oneAPI samples, Devcloud</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1254980#M97</link>
      <description>&lt;P&gt;Thanks, Rahul for your answer, I used the&amp;nbsp;&lt;SPAN&gt;toolkit include from 10.2.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Which toolkit you used in your env. ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alaa&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 18:54:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1254980#M97</guid>
      <dc:creator>Eltablawy__Alaa</dc:creator>
      <dc:date>2021-02-10T18:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: DPC++ compatibility tool error, oneAPI samples, Devcloud</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1256286#M98</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the late response. I have the same CUDA toolkit version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a possible workaround, could you try changing your CUDA application to a different directory and give it a try? (CUDA toolkit installation directory and CUDA application directory should be different). Let me know if it helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, try to migrate a simple CUDA vector add code and let me know how it goes.&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;dpct --cuda-include-path=&amp;lt;path to cuda&amp;gt;/include vecadd.cu&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 09:12:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1256286#M98</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2021-02-16T09:12:04Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ compatibility tool error, oneAPI samples, Devcloud</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1258382#M99</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please confirm if your issue is solved? Let us know if you face any issues.&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>Tue, 23 Feb 2021 06:16:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1258382#M99</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2021-02-23T06:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re:DPC++ compatibility tool error, oneAPI samples, Devcloud</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1258548#M100</link>
      <description>&lt;P&gt;Thanks Rahul, yes, I have the issue resolved. The solution to my issue us as follow:&lt;/P&gt;
&lt;P&gt;1- as you suggested, changing the CUDA application directory helped in resolving the following issue:&lt;/P&gt;
&lt;P&gt;Processing: /home/.../oneAPI-samples/Tools/Migration/vector-add-dpct/src/vector_add.cu&lt;BR /&gt;Skipping /home/.../oneAPI-samples/Tools/Migration/vector-add-dpct/src/vector_add.cu. Compile command not found.&lt;BR /&gt;dpct exited with code: 1 (Migration not necessary; no CUDA code detected)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2- Changing the CUDA application path not to be the same as CUDA lib, helped with that issue:&lt;/P&gt;
&lt;P&gt;dpct exited with code: -5 (Error: Path for CUDA header files is invalid or not available. Use --cuda-include-path to specify the correct path to the header files)&lt;/P&gt;
&lt;P&gt;So I used the following command to migrate:&amp;nbsp;dpct --cuda-include-path=../include --in-root=. src/vector_add.cu --out-root=output/&lt;/P&gt;
&lt;P&gt;Also, without specifying the --in-root option, it produced the same output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 18:52:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1258548#M100</guid>
      <dc:creator>Eltablawy__Alaa</dc:creator>
      <dc:date>2021-02-23T18:52:33Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ compatibility tool error, oneAPI samples, Devcloud</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1258806#M101</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Since your issue is resolved, could you let me know if I can close this 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>Wed, 24 Feb 2021 11:42:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1258806#M101</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2021-02-24T11:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re:DPC++ compatibility tool error, oneAPI samples, Devcloud</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1258966#M102</link>
      <description>&lt;P&gt;Sure, it's resolved, and you can close the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Alaa&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 17:19:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1258966#M102</guid>
      <dc:creator>Eltablawy__Alaa</dc:creator>
      <dc:date>2021-02-24T17:19:33Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ compatibility tool error, oneAPI samples, Devcloud</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1259228#M103</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation. Intel will no longer monitor this thread. Further discussions on this thread will be considered community only.&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;BR /&gt;</description>
      <pubDate>Thu, 25 Feb 2021 09:29:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/DPC-compatibility-tool-error-oneAPI-samples-Devcloud/m-p/1259228#M103</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2021-02-25T09:29:17Z</dc:date>
    </item>
  </channel>
</rss>

