Software Archive
Read-only legacy content

offload_report

Jen_B_
Beginner
598 Views

i am using offload_report at level 2, there we have mic time and cpu time. i have two questions about it:

1) why they are different?

2) which one should we use?

thanks!

0 Kudos
4 Replies
Frances_R_Intel
Employee
598 Views

The following is from the User and Reference Guide for the Intel Fortran Compiler:

[CPU Time]    
The total time measured for that offload directive on the host.

[MIC Time]    
The total time measured for executing the offload on the target.

This excludes the data transfer time between the host and the target, and counts only the execution time on the target.

Which should you use? It depends on what you want to know. If you want to know how long the host waited while data was being transferred to the coprocessor, processed and then transferred back, then you want the cpu time. If you want to know how long the coprocessor worked once it receive the data, then you want the mic time.

0 Kudos
Jen_B_
Beginner
598 Views

Thanks! So CPUTime-MICTime=TransferTime, am i right?

0 Kudos
Frances_R_Intel
Employee
598 Views

CPUTime-MICTime=TransferTime

For all practical purposes, yes. This is the way you should think about that number.

0 Kudos
Jen_B_
Beginner
598 Views

OK, thanks a lot!

0 Kudos
Reply