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,404 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,361 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,362 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,356 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,331 Views

Yes, you are correct.

Thanks,


0 Kudos
GouthamK_Intel
Moderator
14,273 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