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

Method vulkan

python/tvm/rpc/client.py:231–233  ·  view source on GitHub ↗

Construct Vulkan device.

(self, dev_id=0)

Source from the content-addressed store, hash-verified

229 return self.device(DLDeviceType.kDLOpenCL, dev_id)
230
231 def vulkan(self, dev_id=0):
232 """Construct Vulkan device."""
233 return self.device(DLDeviceType.kDLVulkan, dev_id)
234
235 def metal(self, dev_id=0):
236 """Construct Metal device."""

Callers 2

checkMethod · 0.45
test_texture_copyFunction · 0.45

Calls 1

deviceMethod · 0.95

Tested by 1

test_texture_copyFunction · 0.36