Why can the source code not be parallelized/optimized?

From emmtrix Wiki
Jump to navigation Jump to search

Since ePS2022.04, as part of the CodeTransformation functionality, a function has been added to display the reasons why code transformations cannot be applied. This indicates reasons why code cannot be parallelized or optimized.

  1. Right-click on the block to be analyzed in the [Hierarchical Program View], and if "Not applicable transformations" is displayed, the reason for non-parallelizability can be confirmed.
  2. Select the item of non-parallelization you want to check, and the reason of non-parallelization will be displayed as follows.
List of transformations that cannot be applied to the selected block.

The following trivial reasons are not displayed.

  • If the block is not a loop, the loop transformation cannot be applied
  • Example for a reason of why a transformation cannot be applied.
    If-loop split is not shown if there is no if in the loop