diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2014-01-22 15:51:48 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2014-01-22 15:51:48 -0500 |
commit | d4b955262433d927e966e49d59179808e5d5239f (patch) | |
tree | 641919ba6c352570592e504dcc1b111b8b2c6f5a /gen/edf_generators.py | |
parent | 160c52110d14300bf317eca5fe64379766ac47cd (diff) |
(1)fix merge conflict. (2)fix schedcat integr. bug
Diffstat (limited to 'gen/edf_generators.py')
-rw-r--r-- | gen/edf_generators.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gen/edf_generators.py b/gen/edf_generators.py index e8507f6..bd32f47 100644 --- a/gen/edf_generators.py +++ b/gen/edf_generators.py | |||
@@ -111,10 +111,10 @@ class EdfPgmGenerator(gen.Generator): | |||
111 | gen.Generator._dist_option('task_util', ['uni-medium'], | 111 | gen.Generator._dist_option('task_util', ['uni-medium'], |
112 | NAMED_UTILIZATIONS, | 112 | NAMED_UTILIZATIONS, |
113 | 'Task utilization.'), | 113 | 'Task utilization.'), |
114 | gen.Generator._dist_option('polluters', [False, True], | 114 | gen.Generator._dist_option('polluters', [False], |
115 | {}, | 115 | {}, |
116 | 'Polluters.'), | 116 | 'Polluters.'), |
117 | gen.Generator._dist_option('job_splitting', True, | 117 | gen.Generator._dist_option('job_splitting', [True], |
118 | {}, | 118 | {}, |
119 | 'Job splitting.'), | 119 | 'Job splitting.'), |
120 | gen.Generator._dist_option('ovh_type', 'max', | 120 | gen.Generator._dist_option('ovh_type', 'max', |
@@ -258,6 +258,11 @@ class CflSplitPgmGenerator(EdfPgmGenerator): | |||
258 | overheads = get_overheads(dp, dp.system) | 258 | overheads = get_overheads(dp, dp.system) |
259 | # do the partition here | 259 | # do the partition here |
260 | ts = partition.clear_partitioning(ts) | 260 | ts = partition.clear_partitioning(ts) |
261 | |||
262 | if overheads.consumer is not None: | ||
263 | for t in ts: | ||
264 | overheads.consumer.place_production(t) | ||
265 | |||
261 | try: | 266 | try: |
262 | ts = PARTITION_METHOD[exp_params['partitions']](ts, graphs, subts, cluster_sz, dp.nr_clusters, dp.system, dp.heur_aggressiveness, overheads) | 267 | ts = PARTITION_METHOD[exp_params['partitions']](ts, graphs, subts, cluster_sz, dp.nr_clusters, dp.system, dp.heur_aggressiveness, overheads) |
263 | except DidNotFit: | 268 | except DidNotFit: |