Mousius commented on a change in pull request #9233:
URL: https://github.com/apache/tvm/pull/9233#discussion_r738614748



##########
File path: python/tvm/testing/utils.py
##########
@@ -674,6 +674,18 @@ def requires_opencl(*args):
     return _compose(args, _requires_opencl)
 
 
+def requires_corstone300(*args):
+    """Mark a test as requiring the corstone300 FVP
+
+    Parameters
+    ----------
+    f : function
+        Function to mark
+    """
+    _requires_corstone300 = [pytest.mark.corstone300]

Review comment:
       Depending on how these tests are ran, we could use the slightly icky AOT 
skip logic:
   
https://github.com/apache/tvm/blob/f4dae23478f41ee899e58533bdb31efc5b1b709e/tests/python/relay/aot/aot_test_utils.py#L196-L201
   
   This would at least automate it if these tests are designed to run in CPU 
containers. Otherwise, we should just be able to check for the path since we 
know exactly where we're checking it out in the container:
   
https://github.com/apache/tvm/blob/f4dae23478f41ee899e58533bdb31efc5b1b709e/docker/install/ubuntu_install_ethosu_driver_stack.sh#L23




-- 
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: [email protected]

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


Reply via email to