You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/05/16 17:29:33 UTC

[GitHub] [tvm] mehrdadh commented on a diff in pull request #11294: [Hexagon]Use requires_hexagon instead of requires_hexagon_toolchain if running on hexagon target

mehrdadh commented on code in PR #11294:
URL: https://github.com/apache/tvm/pull/11294#discussion_r873983774


##########
tests/python/contrib/test_hexagon/test_thread_pool.py:
##########
@@ -66,8 +66,8 @@ def benchmark_func(mod, name, args, hexagon_session):
     return evaluator(a, b, c, n).mean
 
 
-@requires_hexagon_toolchain
-def test_speedup(hexagon_session, capsys):
+@tvm.testing.requires_hexagon
+def test_speedup(hexagon_session: Session, capsys):
     if hexagon_session is None:

Review Comment:
   make sense, removed the if condition.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org