Редагувати

Поділитися через


/Qpar-report (Auto-Parallelizer Reporting Level)

Enables the reporting feature of the compiler's Auto-Parallelizer and specifies the level of informational messages for output during compilation.

Syntax

/Qpar-report:{1}{2}

Remarks

/Qpar-report:1
Outputs an informational message for loops that are parallelized.

/Qpar-report:2
Outputs an informational message for loops that are parallelized and also for loops that are not parallelized, together with a reason code.

Messages are reported to stdout. If no informational messages are reported, then either the code contains no loops, or the reporting level was not set to report loops that are not parallelized. For more information about reason codes and messages, see Vectorizer and Parallelizer Messages.

To set the /Qpar-report compiler option in Visual Studio

  1. In Solution Explorer, open the shortcut menu for the project and then choose Properties.

  2. Select the Configuration Properties > C/C++ > Command Line property page.

  3. In the Additional Options box, enter /Qpar-report:1 or /Qpar-report:2.

To set the /Qpar-report compiler option programmatically

See also

/Q Options (Low-Level Operations)
MSVC Compiler Options
MSVC Compiler Command-Line Syntax
Native code vectorization in Visual Studio