Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

VTune what analysis produces the DFLOP count?

Azua_Garcia__Giovann
673 Views

Hello,

What VTune analysis produces the DFLOP count for a given application? this would be extremely useful for efortlessly computing the GFlops,

 

TIA,

Best regards,

Giovanni

0 Kudos
1 Solution
Bernard
Valued Contributor I
673 Views

I am late with the answer,but anyway it is this counter FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE.

View solution in original post

0 Kudos
5 Replies
Peter_W_Intel
Employee
673 Views

There is no associated events to measure flops in predefined analysis. However you can find/use events in supported events, it depends on your using processor. For example, if you working on SandBridge processor, use:

# amplxe-runss -event-list | grep FP_COMP_OPS_EXE
FP_COMP_OPS_EXE.X87
FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE
FP_COMP_OPS_EXE.SSE_SCALAR_SINGLE
FP_COMP_OPS_EXE.SSE_PACKED_SINGLE
FP_COMP_OPS_EXE.SSE_SCALAR_DOUBLE

So, MFLOPS Formula = FP_COMP_OPS_EXE.X87 / 1x10e-6 / Elapsed Time

Using event FP_COMP_OPS_EXE.X87 directly in command line without VTune's predefined analysis, refer this article

 

For information about using FLOPS related events for your processor, read under VTune_amplifier_xe_2013/documentation/help/reference

0 Kudos
Bernard
Valued Contributor I
673 Views

"What VTune analysis produces the DFLOP count for a given application?"

I presume that DFLOP stands for double precision FLOPs.

0 Kudos
Azua_Garcia__Giovann
673 Views

Correct I am interested in Double Precision FLoating Point Operations therefore FP_COMP_OPS_EXE.SSE_SCALAR_SINGLE and FP_COMP_OPS_EXE.SSE_PACKED_SINGLE are of no interest to me. Furthermore, this PC seems to give the total FP_COMP_OPS_EXE.X87 that includes single precision, which is also not interesting to me. I only only want to measure Double Precision events.

How can I do that using VTune?

0 Kudos
Azua_Garcia__Giovann
673 Views

OK I found out how to do this. The solution is to create a new Analysis or custom analysis type and add those counters.

 

Cheers,

Giovanni

0 Kudos
Bernard
Valued Contributor I
674 Views

I am late with the answer,but anyway it is this counter FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE.

0 Kudos
Reply