Unverified Commit b77195f5 by Zhiang Wang Committed by GitHub

Update sa_multicore_cpp.py

parent 36623716
...@@ -41,7 +41,10 @@ def RunSA(run_id, dir, netlist, plc_file, action_probs, num_actions, max_tempera ...@@ -41,7 +41,10 @@ def RunSA(run_id, dir, netlist, plc_file, action_probs, num_actions, max_tempera
cmd = sa_path + " " + netlist + " " + plc_file + " " + str(num_actions) + " " cmd = sa_path + " " + netlist + " " + plc_file + " " + str(num_actions) + " "
cmd += str(max_temperature) + " " + str(num_iters) + " " + str(seed) + " " cmd += str(max_temperature) + " " + str(num_iters) + " " + str(seed) + " "
cmd += str(spiral_flag) + " " if (spiral_flag == True):
cmd += str(1) + " "
else:
cmd += str(0) + " "
for action_prob in action_probs: for action_prob in action_probs:
cmd += str(action_prob) + " " cmd += str(action_prob) + " "
cmd += design + " " + run_dir cmd += design + " " + run_dir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment