You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by me...@apache.org on 2022/12/08 20:02:35 UTC
[tvm] branch main updated: [Hexagon] Use get_hexagon_target in test, NFC (#13584)
This is an automated email from the ASF dual-hosted git repository.
mehrdadh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 3168e612c7 [Hexagon] Use get_hexagon_target in test, NFC (#13584)
3168e612c7 is described below
commit 3168e612c7ebaa99993c693fb33a6c137e510950
Author: Krzysztof Parzyszek <kp...@quicinc.com>
AuthorDate: Thu Dec 8 14:02:29 2022 -0600
[Hexagon] Use get_hexagon_target in test, NFC (#13584)
---
tests/python/contrib/test_hexagon/test_launcher.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/python/contrib/test_hexagon/test_launcher.py b/tests/python/contrib/test_hexagon/test_launcher.py
index 76d5cba60a..95c6c1e198 100644
--- a/tests/python/contrib/test_hexagon/test_launcher.py
+++ b/tests/python/contrib/test_hexagon/test_launcher.py
@@ -449,8 +449,7 @@ def test_conv2d_relay_vrmpy(hexagon_session, data_dtype, weight_dtype):
out_dtype=out_dtype,
)
- target_hexagon = tvm.target.hexagon("v68")
- target = tvm.target.Target(target_hexagon, host=target_hexagon)
+ target = get_hexagon_target("v68")
I, O, H, W = 64, 256, 56, 56
kH = kW = 3
padding = (1, 1)
@@ -515,8 +514,7 @@ def test_dense_relay_vrmpy(hexagon_session, data_dtype, weight_dtype):
if data_dtype == "int8" and weight_dtype == "uint8":
pytest.skip("(i8, u8) input pair is not supported")
- target_hexagon = tvm.target.hexagon("v68")
- target = tvm.target.Target(target_hexagon, host=target_hexagon)
+ target = get_hexagon_target("v68")
M = 128
N = 1000