Skip to content

Introduce conditional pragma omp simd only if available

Simon Praetorius requested to merge issue/pragma-omp-simd-warnings into master

Summary

The introduction of #pragma omp simd in !1013 (merged) lead to various warning of unknown pragmas in older OpenMP versions. The proposed fix in !1015 (merged) didn't work as expected. This MR thus wraps the #pragma into a condition involving the OpenMP version.

Closes #267 (closed)

Merge request reports

Loading