Skip to content
Snippets Groups Projects
Commit c3478ada authored by Hashim Sharif's avatar Hashim Sharif
Browse files

Minor bug fix in Lenet autotuner script

parent 98c14f9c
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ import subprocess
# Configuration variables - change for each benchmark
bench_build_dir = os.environ["LLVM_SRC_ROOT"] + "/test/VISC/DNN_Benchmarks/benchmarks/lenet/build/"
visc_file_name = "lenet.visc.ll"
num_tests = 300
num_tests = 10
threshold_accuracy = 98.0
binary_name = "./lenet_tune"
result_dir = "./opentuner_test_result"
......@@ -39,9 +39,8 @@ def run_autotuner():
print autotuner_cmd
process = subprocess.call(autotuner_cmd, shell=True)
process.wait()
subprocess.call(autotuner_cmd, shell=True)
def add_approx_info():
......@@ -64,6 +63,6 @@ def add_approx_info():
if __name__ == "__main__":
#build_binaries()
#run_autotuner()
run_autotuner()
add_approx_info()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment