By: Charlie Burnes (charlie.burnes.delete@this.no-spam.com), May 17, 2022 4:05 pm
Room: Moderated Discussions
OpenMP is most known for shared memory multiprocessing but SIMD directives were added in 2013 with OpenMP 4.0. One advantage of using OpenMP SIMD directives is that the source code can make use of AVX512 when it is present and the code still runs on processors that do not have AVX512. Another advantage is the programmer does not have to handle the case were the loop iteration count is not a multiple of the SIMD width. That code gets generated automatically.
docs.microsoft.com/en-us/cpp/parallel/openmp/openmp-simd
openmpcon.org/wp-content/uploads/openmpcon2015-simd-tutorial.pdf
docs.microsoft.com/en-us/cpp/parallel/openmp/openmp-simd
openmpcon.org/wp-content/uploads/openmpcon2015-simd-tutorial.pdf