- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hello everyone,
I am a new developer for MIC architecture and using xeon phi with icc. I am currently compiling a basic native code with optimization report flags : "-qopt-report=3 -qopt-report-phase=vec". Although the optimization report is generated (.optrpt file is present) and the compilation is completed fine, the report files are completely empty. I get absolutely no warning but the size of the files is 0 bytes and there is not even a statement "Begin optimization report for ..." inside the file.
I was wondering what could be the possible reasons for this issue.
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
What optimization level are you using? -O2?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I am using -O3, but I tried with -O2 as well. The result is the same.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Could you attach the report for -qopt-report=5 (don't use the vec-report-phase option) ?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Well it appears that it does not optimization at all!
Can you provide a reproducer?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I think I solved the problem. When I changed the main source's name, I realized that the reports files were generated just fine. I am using multiple header files in the program. While compiling, the header files must have mixed up and the corresponding reports for the source files had overlapped. Maybe the reports were not generated individually for that reason. The compiler was still recognizing the files for forming the executable, so I didn't get any errors. I have fixed my compilation rules, now I can get the reports.
Thank you Paulius !
