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

Method cl

python/tvm/rpc/client.py:227–229  ·  view source on GitHub ↗

Construct OpenCL device.

(self, dev_id=0)

Source from the content-addressed store, hash-verified

225 return self.device(DLDeviceType.kDLCUDA, dev_id)
226
227 def cl(self, dev_id=0):
228 """Construct OpenCL device."""
229 return self.device(DLDeviceType.kDLOpenCL, dev_id)
230
231 def vulkan(self, dev_id=0):
232 """Construct Vulkan device."""

Callers 4

test_rpc_moduleFunction · 0.45
test_texture_copyFunction · 0.45
check_remote_link_clFunction · 0.45
run_openclFunction · 0.45

Calls 1

deviceMethod · 0.95

Tested by 3

test_rpc_moduleFunction · 0.36
test_texture_copyFunction · 0.36
check_remote_link_clFunction · 0.36