Software Archive
Read-only legacy content

qopt-report

Jen_B_
Beginner
498 Views

I am using the -qopt-report3 -qopt-report-phase-report=vec while compiling my code with offloaded section. But I don't get any report on vectorization. 1) Why is that?

2) is there a way to request only vec. report only on a specific subroutine?

Thanks.

0 Kudos
5 Replies
Jen_B_
Beginner
498 Views

it seems to have put everything in ipo_out.optrpt. Is there way to request only report on specific parts of the code, such subroutines etc... Thanks!

0 Kudos
TimP
Honored Contributor III
498 Views

If you want opt-report on a specific subroutine, normally you would compile it individually (without ipo), or set up your makefile to make a separate named opt-report-file for each procedure.

0 Kudos
Jen_B_
Beginner
498 Views

Thanks Tim!

0 Kudos
Kevin_D_Intel
Employee
498 Views

You can control the report on specific routines using the -qopt-report-routine, /Qopt-report-routine option discussed here.

You can also provide filters to the compiler using the -qopt-report-filter, /Qopt-report-filter option discussed here to find indicated parts of your application, and generate optimization reports for those parts of your application. The filter(s) can be a:

  • filename
  • filename + routine
  • filename + line range
  • filename + routine + line range
0 Kudos
Jen_B_
Beginner
498 Views

Thanks Kevin!

0 Kudos
Reply