diff --git a/llvm/projects/hpvm-tensor-rt/tensor_runtime/include/hpvm-rt-controller.h b/llvm/projects/hpvm-tensor-rt/tensor_runtime/include/hpvm-rt-controller.h index 1fe3f4d7ad7fc0639e361190da9d6a431d0bc134..65a34661aaacc8886a79d0e9ab2ee1d272b5a112 100644 --- a/llvm/projects/hpvm-tensor-rt/tensor_runtime/include/hpvm-rt-controller.h +++ b/llvm/projects/hpvm-tensor-rt/tensor_runtime/include/hpvm-rt-controller.h @@ -690,7 +690,7 @@ void RuntimeController::computeParetoConfigurationPoints() { bool en_notDominated = true; if (!EnergyConfigurations.empty()) { - if (EnergyConfigurations.back()->energy <= sp) + if (EnergyConfigurations.back()->energy <= en) en_notDominated = false; }