<?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: switch from VS2022 toolset to intel dpc++ (CMAKE) in Migrating to SYCL</title>
    <link>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1351945#M128</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please confirm whether you have installed Intel oneAPI Basetoolkit and successfully integrated it with Visual Studio.&lt;/P&gt;
&lt;P&gt;If you have already installed the Intel oneAPI toolkit, please let us know the version of the toolkit which you are using.&lt;/P&gt;
&lt;P&gt;If not, please find the below link to install them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Download Link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Installation Guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/guide/installation-guide-for-oneapi-toolkits.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/developer/articles/guide/installation-guide-for-oneapi-toolkits.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Pradeep&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jan 2022 13:10:18 GMT</pubDate>
    <dc:creator>PradeepP_Intel</dc:creator>
    <dc:date>2022-01-17T13:10:18Z</dc:date>
    <item>
      <title>switch from VS2022 toolset to intel dpc++ (CMAKE)</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1351498#M126</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a project that uses the latest MSVC and cuda 11.5. I want to switch over to intel DPC++ compiler and compare performance. My project is a cmake project and the VS2022 cmake settings does not offer the intel compiler toolsets.&lt;BR /&gt;&lt;BR /&gt;What is the recommended way to switch to intel DPC++ compiler in an&amp;nbsp; existing cmake project?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_D_0-1642168248463.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/25648i05DE6509817F3157/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-1642168248463.png" alt="Daniel_D_0-1642168248463.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see the intel dpc++ is not listed here. How can I add the intel toolset into the cmake settings of VS2022?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 13:51:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1351498#M126</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2022-01-14T13:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: switch from VS2022 toolset to intel dpc++ (CMAKE)</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1351945#M128</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please confirm whether you have installed Intel oneAPI Basetoolkit and successfully integrated it with Visual Studio.&lt;/P&gt;
&lt;P&gt;If you have already installed the Intel oneAPI toolkit, please let us know the version of the toolkit which you are using.&lt;/P&gt;
&lt;P&gt;If not, please find the below link to install them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Download Link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Installation Guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/guide/installation-guide-for-oneapi-toolkits.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/developer/articles/guide/installation-guide-for-oneapi-toolkits.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Pradeep&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 13:10:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1351945#M128</guid>
      <dc:creator>PradeepP_Intel</dc:creator>
      <dc:date>2022-01-17T13:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: switch from VS2022 toolset to intel dpc++ (CMAKE)</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1351973#M129</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes,&amp;nbsp; I installed version 2022.1.1 of the oneAPI Base Toolkit and use some function from the IPP in my current cmake based project that compiles under windows &amp;amp; Linux. Now I want to give the intel compiler a try, but I do not see any way to switch the toolkit to the intel compiler.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 14:47:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1351973#M129</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2022-01-17T14:47:51Z</dc:date>
    </item>
    <item>
      <title>Re:switch from VS2022 toolset to intel dpc++ (CMAKE)</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1352617#M134</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for providing the information.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;I have a project that uses the latest MSVC and cuda 11.5.&lt;/P&gt;&lt;P&gt;Is your project is based on CUDA? if yes, have you migrated the CUDA code to DPC++ code?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can follow the below link for migration?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/intel-dpcpp-compatibility-tool-user-guide/top/migrate-a-project/migrate-a-project-on-windows.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/develop/documentation/intel-dpcpp-compatibility-tool-user-guide/top/migrate-a-project/migrate-a-project-on-windows.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;What is the recommended way to switch to intel DPC++ compiler in an existing cmake project?&lt;/P&gt;&lt;P&gt;You can follow the below link to switch to intel DPC++ compiler in an existing cmake project&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/using-oneapi-compilers-with-cmake-in-visual-studio.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/technical/using-oneapi-compilers-with-cmake-in-visual-studio.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jan 2022 10:02:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1352617#M134</guid>
      <dc:creator>PradeepP_Intel</dc:creator>
      <dc:date>2022-01-19T10:02:45Z</dc:date>
    </item>
    <item>
      <title>Re:switch from VS2022 toolset to intel dpc++ (CMAKE)</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1353029#M135</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;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;Any further interaction in 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;Pradeep&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jan 2022 10:32:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1353029#M135</guid>
      <dc:creator>PradeepP_Intel</dc:creator>
      <dc:date>2022-01-20T10:32:40Z</dc:date>
    </item>
    <item>
      <title>Betreff: Re:switch from VS2022 toolset to intel dpc++ (CMAKE)</title>
      <link>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1378063#M163</link>
      <description>&lt;P&gt;Hi, unfortunately I have a new issue with this. I created a new cmake commandline project in VS2022. This one compiles fine with the MS toolchain. I now want to switch to the intel DPC C++ compile. The project uses a "CMakePreset.json" file. I tried a lot of different settings, but I cannot get the intel compiler to work with this one: Here is my current preset file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"version":3,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"configurePresets":[&lt;BR /&gt;&amp;nbsp; &amp;nbsp;{&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "name":"windows-base",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "hidden":true,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "generator":"Ninja",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "binaryDir":"${sourceDir}/out/build/${presetName}",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "installDir":"${sourceDir}/out/install/${presetName}",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "cacheVariables":{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"CMAKE_C_COMPILER":"icx",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"CMAKE_CXX_COMPILER":"icx"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"condition":{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"type":"equals",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"lhs":"${hostSystemName}",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"rhs":"Windows"&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp;&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"name":"x64-debug",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"displayName":"x64 Debug",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"inherits":"windows-base",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"architecture":{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"value":"x64",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"strategy":"external"&lt;BR /&gt;},&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"cacheVariables":{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"CMAKE_BUILD_TYPE":"Debug"&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}&amp;nbsp;&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name":"x64-release",&lt;BR /&gt;"displayName":"x64 Release",&lt;BR /&gt;"inherits":"x64-debug",&lt;BR /&gt;"cacheVariables":{&lt;BR /&gt;"CMAKE_BUILD_TYPE":"Release"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and this is my CMakeList.txt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# CMakeList.txt : Top-level CMake project file, do global configuration&lt;BR /&gt;# and include sub-projects here.&lt;BR /&gt;#&lt;BR /&gt;cmake_minimum_required (VERSION 3.22.1)&lt;/P&gt;
&lt;P&gt;#set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "C:/Program Files (x86)/Intel/oneAPI/compiler/2022.0.3/windows/IntelDPCPP")&lt;BR /&gt;#find_package (IntelDPCPP REQUIRED)&lt;/P&gt;
&lt;P&gt;project ("IntelTest")&lt;/P&gt;
&lt;P&gt;# Include sub-projects.&lt;BR /&gt;add_subdirectory ("IntelTest")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I switch from the MS compiler to the Intel DPC C++??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 07:21:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Migrating-to-SYCL/switch-from-VS2022-toolset-to-intel-dpc-CMAKE/m-p/1378063#M163</guid>
      <dc:creator>Daniel_D</dc:creator>
      <dc:date>2022-04-19T07:21:16Z</dc:date>
    </item>
  </channel>
</rss>

