You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2020/07/10 17:57:20 UTC

[incubator-tvm] branch master updated: Add creation of Hexagon device in RPC client (#6035)

This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git


The following commit(s) were added to refs/heads/master by this push:
     new 3b6c3be  Add creation of Hexagon device in RPC client (#6035)
3b6c3be is described below

commit 3b6c3be63db812eab035684da87a7de8edac2631
Author: Krzysztof Parzyszek <kp...@quicinc.com>
AuthorDate: Fri Jul 10 12:57:05 2020 -0500

    Add creation of Hexagon device in RPC client (#6035)
---
 python/tvm/rpc/client.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/python/tvm/rpc/client.py b/python/tvm/rpc/client.py
index 2f96c9b..60eb08d 100644
--- a/python/tvm/rpc/client.py
+++ b/python/tvm/rpc/client.py
@@ -186,6 +186,10 @@ class RPCSession(object):
         """Construct extension device."""
         return self.context(12, dev_id)
 
+    def hexagon(self, dev_id=0):
+        """Construct Hexagon device."""
+        return self.context(14, dev_id)
+
     def webgpu(self, dev_id=0):
         """Construct WebGPU device."""
         return self.context(15, dev_id)