Delen via


/Qvec-report (Auto-Vectorizer Reporting Level)

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

/Qvec-report:{1}{2}

Remarks

  • /Qvec-report:1
    Outputs an informational message for loops that are vectorized.

  • /Qvec-report:2
    Outputs an informational message for loops that are vectorized and for loops that are not vectorized, together with a reason code.

For information about reason codes and messages, see Vectorizer and Parallelizer Messages.

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

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

  2. In the Property Pages dialog box, under C/C++, select Command Line.

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

To set the /Qvec-report compiler option programmatically

See Also

Reference

/Q Options (Low-Level Operations)

Compiler Options

Setting Compiler Options

Other Resources

Parallel Programming in Native Code