From: jzhou Date: Thu, 7 Oct 2010 22:31:56 +0000 (+0000) Subject: Forgot to check in bug fixes of Tracking benchmark X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2bb84ab8e998e5bd388442f8dc6b0ef14d03cb1d;p=IRC.git Forgot to check in bug fixes of Tracking benchmark --- diff --git a/Robust/src/Benchmarks/Scheduling/Tracking/TrackingBench.java b/Robust/src/Benchmarks/Scheduling/Tracking/TrackingBench.java index 68abbaeb..a16fbaca 100644 --- a/Robust/src/Benchmarks/Scheduling/Tracking/TrackingBench.java +++ b/Robust/src/Benchmarks/Scheduling/Tracking/TrackingBench.java @@ -17,7 +17,8 @@ task startup(StartupObject s{initialstate}) { for(int i = 0; i < pnum; i++) { BlurPiece bp = new BlurPiece(i, range, - input){toblur}; + input, + pnum){toblur}; } tdmo.setBPNum(pnum); @@ -64,7 +65,8 @@ task preresize(TrackDemo tdmo{topreresize}) { range, Icur, rows, - cols){toprocess}; + cols, + pnum){toprocess}; } ImageXM imageXM = new ImageXM(pnum, rows, @@ -75,7 +77,8 @@ task preresize(TrackDemo tdmo{topreresize}) { range, Icur, rows, - cols){toprocess}; + cols, + pnum){toprocess}; } ImageYM imageYM = new ImageYM(pnum, rows, @@ -178,7 +181,8 @@ task calcInd(Lambda lda{tocalcInd}) { data, rows, cols, - r){toprocess}; + r, + pnum){toprocess}; } taskexit(lda{!tocalcInd, finish}); @@ -233,12 +237,14 @@ task startTrackingLoop(TrackDemo tdmo{tostartL}) { range, data, rows, - cols){toprocess}; + cols, + pnum1){toprocess}; IYL iyl = new IYL(i, range, data, rows, - cols){toprocess}; + cols, + pnum1){toprocess}; } IXLM ixlm1 = new IXLM(pnum1, data, @@ -258,12 +264,14 @@ task startTrackingLoop(TrackDemo tdmo{tostartL}) { range, data, rows, - cols){toprocess}; + cols, + pnum1){toprocess}; IYLR imy = new IYLR(i, range, data, rows, - cols){toprocess}; + cols, + pnum1){toprocess}; } IXLMR ixlm2 = new IXLMR(pnum1, data, @@ -280,7 +288,8 @@ task startTrackingLoop(TrackDemo tdmo{tostartL}) { for(int i = 0; i < pnum2; i++) { BlurPieceL bpl = new BlurPieceL(i, range, - input){toblur}; + input, + pnum2){toblur}; } tdmo.setBPLNum(pnum2); tdmo.startTrackingLoop(); diff --git a/Robust/src/Main/Main.java b/Robust/src/Main/Main.java index 8386342b..33e717ba 100644 --- a/Robust/src/Main/Main.java +++ b/Robust/src/Main/Main.java @@ -569,15 +569,15 @@ public class Main { CallGraph callGraph = new CallGraph(state); Liveness liveness = new Liveness(); ArrayReferencees ar = new ArrayReferencees(state); - OwnershipAnalysis oa = null; /*new OwnershipAnalysis(state, + OwnershipAnalysis oa = new OwnershipAnalysis(state, tu, callGraph, - liveness, - ar, + liveness, + ar, state.OWNERSHIPALLOCDEPTH, state.OWNERSHIPWRITEDOTS, state.OWNERSHIPWRITEALL, - state.OWNERSHIPALIASFILE);*/ + state.OWNERSHIPALIASFILE); // synthesis a layout according to target multicore processor MCImplSynthesis mcImplSynthesis = new MCImplSynthesis(state,