diff options
author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-19 01:30:29 -0400 |
---|---|---|
committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-19 01:30:29 -0400 |
commit | 47ced4e96bbb782b9e780e8f2cfc637b2c21ff44 (patch) | |
tree | e0d2a0f28145ba21312c8d96442228d4b7219ff7 /dis/gen_input.py | |
parent | a71fc97fd262e1b5770f827047ea60bbaf38d9a2 (diff) |
Enable internal DIS job looping and port to new extra.h API
Changes to DIS code:
- field, pointer, transitive, and update's random initialization
steps moved the main job loop (so that they run on fresh state
each job).
- Moved free() calls outside of the job loop in matrix
- Removed loose clock() call in pointer
Misc fixes:
- Added input file for neighborhood
- Log status before, rather than after, printing in gen_input.py
Diffstat (limited to 'dis/gen_input.py')
-rwxr-xr-x | dis/gen_input.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dis/gen_input.py b/dis/gen_input.py index 67ee316..3698e88 100755 --- a/dis/gen_input.py +++ b/dis/gen_input.py | |||
@@ -106,8 +106,8 @@ with open(sys.argv[2], "r") as template: | |||
106 | # We expect the initialization params to all be on the first line | 106 | # We expect the initialization params to all be on the first line |
107 | params = template.readline().split() | 107 | params = template.readline().split() |
108 | mutated_params = BENCH_TO_PARAMS[benchmark_name](params, wss); | 108 | mutated_params = BENCH_TO_PARAMS[benchmark_name](params, wss); |
109 | print(" ".join(map(lambda x: str(x), mutated_params))) | ||
110 | print("Using", " ".join(map(lambda x: str(x), mutated_params)), "for", benchmark_name, "stressmark", file=sys.stderr) | 109 | print("Using", " ".join(map(lambda x: str(x), mutated_params)), "for", benchmark_name, "stressmark", file=sys.stderr) |
110 | print(" ".join(map(lambda x: str(x), mutated_params))) | ||
111 | if benchmark_name == "pointer": | 111 | if benchmark_name == "pointer": |
112 | # Clone the data format used in the template | 112 | # Clone the data format used in the template |
113 | for i in range(0,10): | 113 | for i in range(0,10): |