/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.
Syntax
/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
Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.
Select the Configuration Properties > C/C++ > Code Generation property page.
In the Additional Options box, enter
/Qvec-report:1
or/Qvec-report:2
.
To set the /Qvec-report compiler option programmatically
- Use the code example in AdditionalOptions.
See also
/Q Options (Low-Level Operations)
MSVC Compiler Options
MSVC Compiler Command-Line Syntax
Native code vectorization in Visual Studio
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho