Skip to content
Unstable

Changes

Summary

  1. Optimize HpcOmTaskGraph.createTaskGraph (#12905) (details)
Commit d863c0d592bb6187bcc449556028069754e52e96 by noreply
Optimize HpcOmTaskGraph.createTaskGraph (#12905)

- Move the sorting of the graph to `createTaskGraph0` once the graph is
  completed instead of doing it for each component in
  `createTaskGraph1`, since `createTaskGraph1` only adds nodes.
- Use `Array.mapNoCopy` instead of `Array.map1` when doing the sorting
  since we don't need to copy the array.
The file was modifiedOMCompiler/Compiler/Util/Array.mo (diff)
The file was modifiedOMCompiler/Compiler/BackEnd/HpcOmTaskGraph.mo (diff)