Diagnostic 1392: variable "entity" in firstprivate or lastprivate clause of an OpenMP pragma must be shared in the enclosing context
CauseOne case that the Intel C++ Compiler will emitting this diagnostic message is when using the "firstprivate" of OpenMP* with a wrong syntax.
Cause: Always the inner loop is targeted for vectorization and outer loop is targeted for parallelization. Below is an example for this scenario.
There can be mutiple variants of this diagnostic: 1. PARTIAL LOOP WAS VECTORIZED 2. OpenMP SIMD LOOP WAS VECTORIZED 3. REMAINDER LOOP WAS VECTORIZED