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

Method _GetDeviceAttr

python/tvm/runtime/device.py:32–35  ·  view source on GitHub ↗

Internal helper function to invoke runtime.GetDeviceAttr

(self, device_type, device_id, attr_id)

Source from the content-addressed store, hash-verified

30 """TVM device strucure."""
31
32 def _GetDeviceAttr(self, device_type, device_id, attr_id):
33 """Internal helper function to invoke runtime.GetDeviceAttr"""
34 # pylint: disable=import-outside-toplevel
35 return _ffi_api.GetDeviceAttr(device_type, device_id, attr_id)
36
37 @property
38 def exist(self):

Callers 15

existMethod · 0.95
max_threads_per_blockMethod · 0.95
warp_sizeMethod · 0.95
compute_versionMethod · 0.95
device_nameMethod · 0.95
max_clock_rateMethod · 0.95
multi_processor_countMethod · 0.95
max_thread_dimensionsMethod · 0.95
api_versionMethod · 0.95
driver_versionMethod · 0.95
l2_cache_size_bytesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected