Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvm, OptimizationControlMechanism: Reuse costs computed by TransferWithCosts #2761

Merged
merged 6 commits into from
Aug 3, 2023

Commits on Aug 2, 2023

  1. llvm, OptimizationControlMechanism: Change "input port" -> "output po…

    …rt" in warning message
    
    Allocation samples are applied to output ports.
    
    Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
    jvesely committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    b1039b4 View commit details
    Browse the repository at this point in the history
  2. llvm, OptimizationControlMechanism: Use more descriptive names for in…

    …dices
    
    Remove duplicate index query.
    
    Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
    jvesely committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    0a817aa View commit details
    Browse the repository at this point in the history
  3. llvm, OptimizationControlMechanism: Execute OCM output ports when ass…

    …igning control allocation
    
    Matches Python semantics.
    
    Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
    jvesely committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    1ff3db8 View commit details
    Browse the repository at this point in the history
  4. tests/control: Wrap composition run to return results and grid search…

    … saved values
    
    This allows to call the benchmark fixtures unconditionally.
    
    Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
    jvesely committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    66aabcf View commit details
    Browse the repository at this point in the history
  5. llvm, OptimizationControlMechanism: Reuse calculated costs from Trans…

    …ferWithCosts when computing net_outcome
    
    Drop allocation vector structure from net_outcome argument list.
    Enable tests of different cost combinations.
    
    Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
    jvesely committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    8a2e2e0 View commit details
    Browse the repository at this point in the history
  6. tests/control: Consolidate model_based_ocm_{after,before} tests

    The tests were almost identical but for the setting of the controller.
    
    Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
    jvesely committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    8eca274 View commit details
    Browse the repository at this point in the history