Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

Migrating from pragma simd

BMart1
New Contributor II
318 Views

The Intel C++ 18.0 compiler trial complains that the #pragma simd is deprecated when compiling a roofline tutorial. I couldn't find more info in the release notes as directed by the warning message. Where is the deprecation documented? What replaces it?

0 Kudos
2 Replies
jimdempseyatthecove
Black Belt
318 Views

#pragma vector [...]

or

#pragma omp simd

May be of use.

Jim Dempsey

TimP
Black Belt
318 Views

I have an instance of #pragma simd firstprivate because OpenMP 4.5 hasn't included an equivalent.  I just installed the 18.1 compiler (twice) and don't see the release notes, although there does appear to be a reference posted to Intel web site.

Reply