<?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 Converting from MSVC to DPC++ 2023.1 in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Converting-from-MSVC-to-DPC-2023-1/m-p/1475780#M2964</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to convert my existing application to DPC++ 2023.1. I switch the toolset in the project properties of vs2022 and added the line:&lt;/P&gt;
&lt;P&gt;#include &amp;lt;sycl/sycl.hpp&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to allow some sycl function calls in the future. The I compile and line - without any issue - except that it took much longer than MS v143.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But as soon as i try to debug the console app i got the message:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_D_0-1681294708968.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/40149i4B56FC81D4925B74/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-1681294708968.png" alt="Daniel_D_0-1681294708968.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tries to avoid this by copying the missing file from the intel oneapi folder into my app folder and the next dll was missing. Since I cannot belief that this is the way to go i guess I'm doing something wrong here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone shed some light on this and let me know how DPC++ is supposed to be used in the VS2022 IDE?&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2023 10:21:00 GMT</pubDate>
    <dc:creator>Daniel_D</dc:creator>
    <dc:date>2023-04-12T10:21:00Z</dc:date>
    <item>
      <title>Converting from MSVC to DPC++ 2023.1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Converting-from-MSVC-to-DPC-2023-1/m-p/1475780#M2964</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to convert my existing application to DPC++ 2023.1. I switch the toolset in the project properties of vs2022 and added the line:&lt;/P&gt;
&lt;P&gt;#include &amp;lt;sycl/sycl.hpp&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to allow some sycl function calls in the future. The I compile and line - without any issue - except that it took much longer than MS v143.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But as soon as i try to debug the console app i got the message:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_D_0-1681294708968.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/40149i4B56FC81D4925B74/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-1681294708968.png" alt="Daniel_D_0-1681294708968.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tries to avoid this by copying the missing file from the intel oneapi folder into my app folder and the next dll was missing. Since I cannot belief that this is the way to go i guess I'm doing something wrong here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone shed some light on this and let me know how DPC++ is supposed to be used in the VS2022 IDE?&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 10:21:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Converting-from-MSVC-to-DPC-2023-1/m-p/1475780#M2964</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2023-04-12T10:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from MSVC to DPC++ 2023.1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Converting-from-MSVC-to-DPC-2023-1/m-p/1475801#M2965</link>
      <description>&lt;P&gt;Rebooting fixes this problem (sometimes) - very strange. Now I have the problem again. It seems to be fixed after reboot, but after a second report the problem reappeared.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;copied the&amp;nbsp;sycl6d.dll into&amp;nbsp;C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\redist\intel64_win\compiler fixes the problem that the app cannot run. unfortunately it seem not to be the correct solution sine non of the sycl functions returns a useful result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;creating/compiling the DPC++ console sample that s installed into the VS project templates works without any issues. The problem seems to be the converted MSVC solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 12:18:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Converting-from-MSVC-to-DPC-2023-1/m-p/1475801#M2965</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2023-04-12T12:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from MSVC to DPC++ 2023.1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Converting-from-MSVC-to-DPC-2023-1/m-p/1476262#M2968</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try adding the following paths under the Path variable in Environment Variables and let us know the results?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;C:\Program Files (x86)\Intel\oneAPI\compiler\2023.1.0\windows\bin

C:\Program Files (x86)\Common Files\intel\Shared Libraries&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the issue persists, please provide the following details so we can investigate this issue from our end.&lt;/P&gt;
&lt;P&gt;1. Visual Studio version(sub-version also)&lt;/P&gt;
&lt;P&gt;2. Source code and detailed steps you have followed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Pendyala Sesha Srinivas&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 11:27:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Converting-from-MSVC-to-DPC-2023-1/m-p/1476262#M2968</guid>
      <dc:creator>SeshaP_Intel</dc:creator>
      <dc:date>2023-04-13T11:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from MSVC to DPC++ 2023.1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Converting-from-MSVC-to-DPC-2023-1/m-p/1477053#M2976</link>
      <description>&lt;P&gt;The problem happens if you have a solution that contains some projects. If you set the startup project to a non-DPC++ project - that still uses a DPC++ project (maybe load a shared lib) the sycl6d.dll is not found. Setting the startup project to a project that is build with DPC++ all is fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2023 08:58:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Converting-from-MSVC-to-DPC-2023-1/m-p/1477053#M2976</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2023-04-15T08:58:24Z</dc:date>
    </item>
    <item>
      <title>Re:Converting from MSVC to DPC++ 2023.1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Converting-from-MSVC-to-DPC-2023-1/m-p/1477906#M2986</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved and thanks for accepting our solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&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>Tue, 18 Apr 2023 11:48:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Converting-from-MSVC-to-DPC-2023-1/m-p/1477906#M2986</guid>
      <dc:creator>SeshaP_Intel</dc:creator>
      <dc:date>2023-04-18T11:48:56Z</dc:date>
    </item>
  </channel>
</rss>

