MCPcopy Create free account
hub / github.com/apache/tvm / cuda

Method cuda

python/tvm/rpc/client.py:223–225  ·  view source on GitHub ↗

Construct CUDA GPU device.

(self, dev_id=0)

Source from the content-addressed store, hash-verified

221 return self.device(DLDeviceType.kDLCPU, dev_id)
222
223 def cuda(self, dev_id=0):
224 """Construct CUDA GPU device."""
225 return self.device(DLDeviceType.kDLCUDA, dev_id)
226
227 def cl(self, dev_id=0):
228 """Construct OpenCL device."""

Callers 15

_relax_backendFunction · 0.45
benchmarkFunction · 0.45
get_runtime_deviceFunction · 0.45
has_tensorcoreFunction · 0.45
have_tensorcoreFunction · 0.45
verify_group_gemmFunction · 0.45

Calls 1

deviceMethod · 0.95