areusch commented on a change in pull request #7398:
URL: https://github.com/apache/tvm/pull/7398#discussion_r577214558



##########
File path: tests/python/unittest/test_crt.py
##########
@@ -106,6 +105,20 @@ def test_compile_runtime():
         assert (C_data.asnumpy() == np.array([6, 7])).all()
 
 
[email protected]_micro
+def test_compile_runtime_llvm():
+    """Test targeting the on-device runtime with the llvm backend."""
+    global TARGET
+    old_target = TARGET
+    try:
+        TARGET = tvm.target.Target("llvm " + str(TARGET)[2:])

Review comment:
       clarified a bit--i'm being lazy and reusing test_compile_runtime




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to