Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

SIMD parallelism

maria
Beginner
227 Views

Hi 

I would like to include SIMD parallelism in OpenMP loop. The syntax of the loop simd construct is simple as

!$omp do simd

do loops

!$omp end do simd

The question  is that after  the code  is compiled with above construct, will the executable  run on a non-simd processor? I mean if I compile the code with the above and distribute the executable file to all users with different processors, will some of them with a non-simd processor encounter any problem?  Thank you, Maria 

 

 

 

0 Kudos
2 Replies
Steve_Lionel
Black Belt Retired Employee
227 Views

Intel Fortran isn't supported on any non-SIMD processors. That would have to be pre-Pentium 4. DO SIMD distributes the loop across threads and uses vector instructions where useful.

0 Kudos
TimP
Black Belt
227 Views

The instruction set used is limited according to what you specified in the command line, even in the case where it makes simd inefficient. 

0 Kudos
Reply