Instructions

Viewing Cycles

In the Pipe Utilization bar chart area, move the pointer over the bar chart of the corresponding instruction. The actual cycles information is displayed, as shown in Figure 1.

Figure 1 Viewing Cycles

Viewing Operator Performance in the Roofline Model Performance Graph

In the Roofline area, select a parameter point in the Memory Unit, Memory Transfer, or Pipeline view. The actual performance information of the memory unit is displayed, as shown in Figure 2. Table 1 describes the parameters.

Figure 2 Displaying operator performance information
Table 1 Performance information parameters

Parameter

Description

Bandwidth

Indicates the upper limit of the hardware bandwidth.

Arithmetic Intensity

Corresponds to the X axis, indicating the number of operations supported by a unit of memory.

Performance

Corresponds to the Y axis, indicating the number of operations per unit time (trillions of operations per second).

Performance Ratio

Performance percentage = Actual operator performance/Optimal hardware performance

Comparing Operator Performance

MindStudio Insight allows developers to compare the details of two operators to intuitively view the differences between the two operators, facilitating analysis. Before comparing operator details, you need to set the baseline operator and comparison operator. For details, see Data Comparison.

In operator comparison mode, the Details tab page displays comparison data in terms of Base Info, Core Occupancy, Compute Workload Analysis, and Memory Workload Analysis. Only operators of the same type can be compared.

  • Base Info: The basic information between operators is compared.
  • Core Occupancy: Based on the comparison data, if the comparison data contains core occupancy data, the analysis result is displayed on the page. If the comparison data does not contain core occupancy data, the analysis result is not displayed on the page.
  • Roofline: This module does not support comparison. If the comparison data contains this module, the content of this module is displayed in operator comparison mode.
  • Compute Workload Analysis: You can view the corresponding information in the bar chart and data pane. In the bar chart, blue bars indicate the comparison data, and green bars indicate the baseline data. The data pane displays the differences between operators. You can click See more in the Details column to view details about the baseline data and comparison data, as shown in Figure 3.
    Figure 3 Compute Workload Analysis comparison
  • Memory Workload Analysis: You can view the corresponding information in the memory heatmap and data pane. The data in the brackets in the heatmap is the baseline data, and the data outside the brackets is the comparison data. The data pane displays the differences between operators. You can click See more in the Details column to view details about the baseline data and comparison data, as shown in Figure 4.
    Figure 4 Memory Workload Analysis comparison