From e389de221ad5fce1248d827dc37777ec9ed40f80 Mon Sep 17 00:00:00 2001
From: Yifan Zhao <yifanz16@illinois.edu>
Date: Tue, 30 Mar 2021 16:03:21 -0500
Subject: [PATCH] approxhpvm.py codegen_target is required

---
 hpvm/tools/py-approxhpvm/main.py.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hpvm/tools/py-approxhpvm/main.py.in b/hpvm/tools/py-approxhpvm/main.py.in
index 3446b07c1e..4b604d172a 100644
--- a/hpvm/tools/py-approxhpvm/main.py.in
+++ b/hpvm/tools/py-approxhpvm/main.py.in
@@ -146,6 +146,7 @@ def parse_args():
         "-t",
         "--codegen-target",
         type=str,
+        required=True,
         choices=["tensor", "cudnn"],
         help="Backend to use",
     )
-- 
GitLab