- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It does not seem that the icpc compiler provides vectorization optimization reports like XE Compiler does. This is the .optrpt file, which also is shown in the Compiler Optimization Report window in Visual Studio. Is this reporting feature unavailable by design, or is it accessed in a new way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for reaching out. The issue is reproducible. In Visual studio, the compiler optimization report window is empty. Optimization report generation works in command prompt. Please follow the below steps.
In Linux:
icpc -qopt-report=1 -qopt-report-phase=vec test.cpp && cat test.optrpt
icc -qopt-report=1 -qopt-report-phase=vec test.c && cat test.optrpt
In Windows:
icl -Qopt-report:1 -Qopt-report-phase:vec test.cpp && cat test.optrpt
For more information : https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-auto-vectorization-tutorial/top/introduction-to-auto-vectorization.htmls
Hope this helps.
Regards
Gopika
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for reaching out. The issue is reproducible. In Visual studio, the compiler optimization report window is empty. Optimization report generation works in command prompt. Please follow the below steps.
In Linux:
icpc -qopt-report=1 -qopt-report-phase=vec test.cpp && cat test.optrpt
icc -qopt-report=1 -qopt-report-phase=vec test.c && cat test.optrpt
In Windows:
icl -Qopt-report:1 -Qopt-report-phase:vec test.cpp && cat test.optrpt
For more information : https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-auto-vectorization-tutorial/top/introduction-to-auto-vectorization.htmls
Hope this helps.
Regards
Gopika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. I hope the Visual Studio integration will be fixed. Also, the /Qopt-report-phase:vec option is listed as available by the /Qnextgen-diag, but the option is ignored with a warning.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you please indicate what version of Visual Studio you are using?
With oneAPI 2021.2, it seems that Visual Studio Version 16.7.2 works fine. The bug is reproducible with Version 16.8.3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This bug is escalated to the development team.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The version against which you reported your issue is no longer targeted for fixes. Please check out the new versions of Intel oneAPI Toolkits for the latest features.
Thanks & Regards,
Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are closing this thread for now. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Santosh

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page