Intel® oneAPI Base Toolkit
Support for the core tools and libraries within the base toolkit that are used to build and deploy high-performance data-centric applications.
419 Discussions

which file does oneAPI really called in vs2019

silas_cheng
Beginner
1,499 Views

downloaded and installed the base toolkit today and tried to compiled my code in vs2019(16.11.9). everything looks normal and I found vs2019 is called clang-cl.exe to do the job. However, I find this readme file in intel\oneAPI\compiler\2022.0.0\windows\bin-llvm basically saying clangxxx is deprecated, instead icx.exe should be called. 

 

anythign wrong?  

 

 

version:

c++ compiler: 2022.0.0.161

oneAPI DPC++ compiler: 2022.0.0.1

0 Kudos
8 Replies
MadhuK_Intel
Moderator
1,468 Views

Hi,

 

Thanks for reaching out to us.

 

We have compiled a sample program using Intel C++ compiler 2022 (icx) and Visual Studio 2019. We have selected the platform toolset as Intel C++ compiler 2022(Project -> Properties -> Configuration properties -> General -> Platform Toolset).

We observed that the VS used the icx.exe file for building the project. 

 

MadhuK_Intel_0-1643021835393.png

 

 

Could you please let us know which compiler you have selected before building the project?

 

Regards,

Madhu

 

0 Kudos
silas_cheng
Beginner
1,459 Views

as shown in these snapshots. remark: for speed purpose I installed the oneAPI in the same path in e driver,  instead of the default path in c driver

silas_cheng_0-1643025823987.pngsilas_cheng_1-1643025829756.png

silas_cheng_2-1643025838131.png

silas_cheng_3-1643025849275.png

silas_cheng_4-1643025861363.png

 

 

0 Kudos
MadhuK_Intel
Moderator
1,381 Views

Hi,


We are working on your issue, we will get back to you soon.


Best Regards,

Madhu


0 Kudos
Viet_H_Intel
Moderator
1,352 Views

Yes, icx will be calling clang-cl.exe (Intel version). The README doesn't imply clang/clang++ are deprecated, it's not recommended. But if you need to call clang/clang++ (LLVM versions) directly, you still can and report issue to us if any. 

Hope this clear some confusions you have.

Thanks

 

0 Kudos
silas_cheng
Beginner
1,273 Views

in this case, if I use cmake to manage the building, which .exe should I use? Also, from your vs2022 snapshot, icx is called. Does it mean vs2019 is using clang-cl.exe because of some legacy issues?

0 Kudos
Viet_H_Intel
Moderator
1,293 Views

Have we answered your concerns? if so, can we close this thread?


Thanks,


0 Kudos
Viet_H_Intel
Moderator
1,264 Views

If you intended to use Intel Compiler then icx should be used. icx is a driver and will call clang-cl.exe. No.

Thanks,



0 Kudos
Viet_H_Intel
Moderator
1,228 Views

Seems like we have answered your questions, we will go ahead and close this thread. If you have any other questions/concerns, please create a new one.


Regards,

Viet


0 Kudos
Reply