MCPcopy Index your code
hub / github.com/apache/tvm / webgpu

Method webgpu

python/tvm/rpc/client.py:251–253  ·  view source on GitHub ↗

Construct WebGPU device.

(self, dev_id=0)

Source from the content-addressed store, hash-verified

249 return self.device(DLDeviceType.kDLHexagon, dev_id)
250
251 def webgpu(self, dev_id=0):
252 """Construct WebGPU device."""
253 return self.device(DLDeviceType.kDLWebGPU, dev_id)
254
255
256class LocalSession(RPCSession):

Callers

nothing calls this directly

Calls 1

deviceMethod · 0.95

Tested by

no test coverage detected