Skip to content

Commit

Permalink
Add creation of Hexagon device in RPC client (#6035)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Parzyszek authored Jul 10, 2020
1 parent e329069 commit 3b6c3be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/tvm/rpc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ def ext_dev(self, dev_id=0):
"""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)
Expand Down

0 comments on commit 3b6c3be

Please sign in to comment.