From 34b28a03b40be7960556f51cc729666d8f0cbd2b Mon Sep 17 00:00:00 2001 From: Pratyush Das Date: Thu, 7 Nov 2024 13:19:14 -0500 Subject: [PATCH] Example prog - benchmark no output Currently running the benchmark.py program in the example yields no output. Setting the verbosity flag gives actual execution benchmark results. --- README.md | 2 +- docs/demos/quickstart.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 157978cd..50a68c14 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ No installation is required. This will launch a Jupyter notebook with the quicks np.testing.assert_allclose(C_test, C_numpy, atol=1e-3) # benchmark all functions - hat.run_benchmark("hello_accera.hat", batch_size=5, min_time_in_sec=5) + hat.run_benchmark("hello_accera.hat", batch_size=5, min_time_in_sec=5, verbose=True) ``` 6. Run the benchmark to get the execution time results: diff --git a/docs/demos/quickstart.ipynb b/docs/demos/quickstart.ipynb index 2692797e..9a1fd651 100644 --- a/docs/demos/quickstart.ipynb +++ b/docs/demos/quickstart.ipynb @@ -137,7 +137,7 @@ "np.testing.assert_allclose(C_test, C_numpy, atol=1e-3)\n", "\n", "# benchmark all functions\n", - "hat.run_benchmark(\"hello_accera.hat\", batch_size=5, min_time_in_sec=5)" + "hat.run_benchmark(\"hello_accera.hat\", batch_size=5, min_time_in_sec=5, verbose=True)" ] }, {