state.INSTRUCTIONFAILURE=true;
else if (option.equals("-abcclose"))
state.ARRAYBOUNDARYCHECK=false;
+
else if (option.equals("-mlp")) {
- state.MLP=true;
- state.OWNERSHIP=true;
+ state.MLP = true;
+ state.OWNERSHIP = true;
+ state.MLP_NUMCORES = Integer.parseInt( args[++i] );
+ state.MLP_MAXSESEAGE = Integer.parseInt( args[++i] );
+
} else if (option.equals("-mlpdebug")) {
- state.MLP=true;
state.MLPDEBUG=true;
- state.OWNERSHIP=true;
+
} else if (option.equals("-help")) {
System.out.println("-classlibrary classlibrarydirectory -- directory where classlibrary is located");
System.out.println("-selfloop task -- this task doesn't self loop its parameters forever");
System.out.println("-optional -- enable optional arguments");
System.out.println("-abcclose close the array boundary check");
System.out.println("-scheduling do task scheduling");
- System.out.println("-mlp build mlp code");
- System.out.println("-mlp build mlp code, report progress and interim results");
+ System.out.println("-mlp <num cores> <max sese age> build mlp code");
+ System.out.println("-mlpdebug if mlp, report progress and interim results");
System.out.println("-multicore generate multi-core version binary");
System.out.println("-numcore set the number of cores (should be used together with -multicore), defaultly set as 1");
System.out.println("-interrupt generate raw version binary with interruption (should be used togethere with -raw)");