Skip to main content

RMK007: Vectorization opportunity within a multithreaded region

warning

This check was deprecated in favor of PWR050, PWR051, PWR052, PWR053, and PWR054. This is because RMK007 combined multithreading and vectorization concerns into a single check. The highlighted checks split these cases into more focused and actionable rules.

Issue

There is a SIMD vectorization opportunity within a multithreaded region.

Actions

Add vectorization directives to instruct the compiler to vectorize the loop.

Relevance

SIMD vectorization is performed at the lowest level in hardware and is usually compatible with higher forms of parallelization. In this case, it could potentially be used to further increase the performance of a multithreaded computation.