Skip to main content

RMK008: Vectorization opportunity within an offloaded region

warning

This check was deprecated in favor of PWR053, PWR054, PWR055, PWR056, and PWR057. This is because RMK008 combined offloading 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 an offloaded 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 computation offloaded to accelerator devices such as GPUs.