From 62ff77b49a5fb1c796cfcfefd81060e3971b5d70 Mon Sep 17 00:00:00 2001 From: Jeremy Reizenstein Date: Thu, 1 Jul 2021 16:07:01 -0700 Subject: [PATCH] points2volumes benchmark run alone Summary: Enable this benchmark to be run on its own, like others. Reviewed By: patricklabatut Differential Revision: D29522846 fbshipit-source-id: c7b3b5c9a0fcdeeb79d8b2ec197684b4380aa547 --- tests/bm_points_to_volumes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/bm_points_to_volumes.py b/tests/bm_points_to_volumes.py index f5431849..906f54bb 100644 --- a/tests/bm_points_to_volumes.py +++ b/tests/bm_points_to_volumes.py @@ -26,3 +26,7 @@ def bm_points_to_volumes() -> None: kwargs_list, warmup_iters=1, ) + + +if __name__ == "__main__": + bm_points_to_volumes()