- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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 kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
This bug is escalated to the development team.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite