Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

What's the difference between icx, icl and icc compilers?

SamKolton
Beginner
14,397 Views

Hi!

I'm currently utterly confused what's the difference between `icx.exe`, `icl.exe` and `icc` on Linux? What should I use to develop C++ code?

Thanks!

0 Kudos
1 Solution
GouthamK_Intel
Moderator
14,354 Views

Hi,

Thanks for reaching out to us!

ICC (Linux), ICL (Windows) are classic Intel C/C++ Compilers. Whereas, ICX is Intel nextgen compiler based on Clang /LLVM technology plus Intel proprietary optimizations and code generation.

  • You may use ICC for performance on CPU targets.
  • ICX enables OpenMP TARGET offload to Intel GPU targets.


For more details please refer the below link.

https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-setup/using-the-command-line/invoking-the-intel-c-compiler.html


Thanks & Regards

Goutham


View solution in original post

4 Replies
GouthamK_Intel
Moderator
14,355 Views

Hi,

Thanks for reaching out to us!

ICC (Linux), ICL (Windows) are classic Intel C/C++ Compilers. Whereas, ICX is Intel nextgen compiler based on Clang /LLVM technology plus Intel proprietary optimizations and code generation.

  • You may use ICC for performance on CPU targets.
  • ICX enables OpenMP TARGET offload to Intel GPU targets.


For more details please refer the below link.

https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-setup/using-the-command-line/invoking-the-intel-c-compiler.html


Thanks & Regards

Goutham


SamKolton
Beginner
14,349 Views

Thanks Goutham!

Am I correct that `icl` and `icc` are independent of `icx` and neither of them invokes each other?

0 Kudos
Viet_H_Intel
Moderator
14,324 Views

Yes, you are correct.

Thanks,


0 Kudos
GouthamK_Intel
Moderator
14,266 Views

Hi, 

Thanks for the confirmation!

As this issue has been resolved, we will no longer respond to this thread. 

If you require any additional assistance from Intel, please start a new thread. 

Any further interaction in this thread will be considered community only. 

Have a Good day!


Thanks & Regards

Goutham


0 Kudos
Reply