Skip to content

Commit

Permalink
- updated hpcom tests, moved predicted SpeedUp message to hpcomDump
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20925 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Volker Waurich committed Jun 3, 2014
1 parent a867dfa commit c6b09d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Compiler/BackEnd/HpcOmScheduler.mo
Expand Up @@ -3245,15 +3245,15 @@ algorithm
case(_,_,_,_,_)
equation
true = speedUpMax ==. -1.0;
print("The predicted SpeedUp with "+&intString(numProc)+&" processors is " +& System.snprintff("%.2f", 25, speedUp) +& ".\n");
Debug.bcall(Flags.isSet(Flags.HPCOM_DUMP),print,"The predicted SpeedUp with "+&intString(numProc)+&" processors is " +& System.snprintff("%.2f", 25, speedUp) +& ".\n");
then
();
else
equation
isOkString = "The predicted SpeedUp with "+&intString(numProc)+&" processors is: "+& System.snprintff("%.2f", 25, speedUp)+&" With a theoretical maxmimum speedUp of: "+& System.snprintff("%.2f", 25, speedUpMax)+&"\n";
isNotOkString = "Something is weird. The predicted SpeedUp is "+& System.snprintff("%.2f", 25, speedUp)+&" and the theoretical maximum speedUp is "+& System.snprintff("%.2f", 25, speedUpMax)+&"\n";
Debug.bcall(realGt(speedUp,speedUpMax),print,isNotOkString);
Debug.bcall(realLe(speedUp,speedUpMax),print,isOkString);
Debug.bcall(realGt(speedUp,speedUpMax) and Flags.isSet(Flags.HPCOM_DUMP),print,isNotOkString);
Debug.bcall(realLe(speedUp,speedUpMax) and Flags.isSet(Flags.HPCOM_DUMP),print,isOkString);
then
();
end matchcontinue;
Expand Down

0 comments on commit c6b09d5

Please sign in to comment.