Questions tagged [icx]

ICX is Intel's C/C++ compiler based on LLVM. It is part of the Intel oneAPI toolkit and is available for Windows, Linux, and MacOS. Use this tag for questions about using the compiler, or that are about language issues specific to ICX. Also include the appropriate language tag ([C] or [C++]). If using an earlier version of the Intel compiler, use [icc].

ICX is Intel's nextgen compiler based on Clang/LLVM technology plus Intel proprietary optimizations and code generation. ICX enables OpenMP TARGET offload to Intel GPU targets. It was released in mid 2021.

Previous versions of the compiler are known as .

The generated code is optimized specifically to run on Intel CPUs.

For more details, see the developer guide on the Intel website.

For bugs and feature requests please reach out at the Intel community forums.

11 questions
7
votes
1 answer

Fast floating point model broken on next-generation intel compiler

Description I'm trying to switch over from using the classic intel compiler from the Intel OneAPI toolkit to the next-generation DPC/C++ compiler, but the default behaviour for handling floating point operations appears broken or different, in that…
Yattabyte
  • 1,280
  • 14
  • 28
2
votes
0 answers

Can the next-generation intel compiler add code-paths for multiple instruction sets?

The Intel Classic Compiler had a compilation flag -ax which I'd use to generate additional code paths for multiple instructions sets, such as AVX512, which was very convenient as I'd only build and receive a single binary. With the next-generation…
Yattabyte
  • 1,280
  • 14
  • 28
1
vote
1 answer

Macro to check if I am running MSVC or Intel compiler

I am using the newest Visual Studio 2022 and also installed the Intel C++ compiler. When I just write a simple main() to print the values of the macros MSC_VER and __INTEL_LLVM_COMPILER, I get MSC_VER = 1937, and __INTEL_LLVM_COMPILER =…
ijklr
  • 145
  • 8
1
vote
0 answers

Ansible module for Brocade/ICX is misbehaving

I've to perform some network automation in my infra using ansible. When I'm trying to use ansible module for icx switches it seems to be misbehaving. Playbook I used --- - name: ICX switch testing hosts: test-switch gather_facts: no vars: …
saurabh
  • 21
  • 3
1
vote
2 answers

Intel ICX compiler list of optimization flags

In the gcc compiler I can specify the arguments -Q --help=optimizers to get a list of the enabled/disabled optimization flags at the current O level. Is there a similar command for the intel icx compiler? If not, is there a resource that lists the…
nreh
  • 476
  • 8
  • 13
0
votes
1 answer

How to install older versions of Intel c++ compiler using apt

I want to install Intel C++ compiler version 17, 18, 19 using apt package management tool. I searched on the official Intel website, but i can't find how to install older versions. There are explanation and list about recent version of compilers.…
Antenna_
  • 147
  • 1
  • 4
  • 15
0
votes
1 answer

icx(Intel® oneAPI DPC++/C++ Compiler) don't generate files with a.o extension which use the ELF format?

when I use ifx to link object which is generate by icx, it report some error.as follows ifx -O3 -ffast-math -nofor-main -DSPEC_CPU_LP64 flincs.o fsettle.fppized.o fshake.o innerf.o flincsd.o fsettled.fppized.o fshaked.o 3dview.o atomprop.o…
nino
  • 11
  • 1
0
votes
0 answers

Does Clang support SEH?

Edit: I don't mean SEH I mean asynchronous exception handling. As commented SEH is supported by __try, __except. The following example requires asynchronous exception handling (-EHa) which appears to be not available. I tried the structured…
maybourne
  • 23
  • 5
0
votes
0 answers

Building OpenCV with Intel oneApi C++ Compiler CMake and Visual Studio

in my project I’m using MS Visual Studio 2022 and CMake 3.23.1. The toolchain is building some 3rd parties like OpenCV form source using CMake’s ExternalProject infrastructure. Using the tools mentioned above everything works as expected. Now I want…
0
votes
2 answers

OpenMP tasking issues with Intel compilers (and clang)

The code below shows problems with with OpenMP tasking in ICL 2021.6.0 and in ICX 2022.1.0 (Clang based) Firstly, I am wondering if I am doing something fundamentally wrong in my OpenMP code and it is just showing up differently when compiled by…
AndrewC
  • 1
  • 1
0
votes
1 answer

openmp offloading feature throws error "Intel Compiler compatibility mode was disabled"

I try to make use of the openmp offloading feature. Unfortunatley I get some strange error messages when I try to compile. (Windows 10) Here are the command line options I use: /Yu"stdafx.h" /GS /fsycl /Qiopenmp…
Arpita - Intel
  • 37
  • 1
  • 10