This diagnostics message comes when the parameters of the pragma contradicts each other. In this case the #pragma loop count has two clauses, avg() and max(). But max() parameter is lesser than the avg() clause value. Below is an example for this scenario.
Streaming SIMD Extensions for the Intel® Architecture (IA) instruction set provides 32-bit floating point single-instruction, multiple-data (SIMD) instructions. These instructions provide a means to accelerate operations typical of 3D graphics, real-time physics, and spatial (3D) audio. This application note (AP-821) presents a method of implementing a 1/3 T software Equalizer, and includes examples of code that exploit the Streaming SIMD Extensions.
Your first encounter with the Intel® IPP library can be overwhelming, due to the number of functions contained within. At Intel we sometimes even "proudly" make statements like "over 12,000 functions in 16 domains" in our marketing literature!
Don't be overwhelmed by such chest-beating marketing statements! (Not that many engineers ever would take them seriously.)
OpenMP Threading and Intel IPP
The low-level primitives within the IPP library generally represent basic atomic operations. This limits threading within the library to ~15-20% of the primitives. Intel OpenMP is used to implement internal threading and is enabled, by default, when you use one of the multi-threaded variants of the library. Multi-threaded versions of the library are only supported on Linux, Windows, and Mac OS X.
Threading Choices for Your Intel IPP Application
Source code for some multi-threaded IPP application examples are included in the free sample downloads. Several of these examples implement threading at the application level, and some use the OpenMP* threading that is built into the Intel IPP library. In most cases the performance gains due to multi-threading is substantial.
Introduction to Threading in IPP