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

Method driver_version

python/tvm/runtime/device.py:205–221  ·  view source on GitHub ↗

Returns version number of the driver Returns driver vendor's internal version number. (e.g. "450.408.256" for nvidia-driver-450) Returns device value for opencl and vulkan. Returns remote device value for RPC devices. Returns None for all other devices.

(self)

Source from the content-addressed store, hash-verified

203
204 @property
205 def driver_version(self):
206 """Returns version number of the driver
207
208 Returns driver vendor's internal version number.
209 (e.g. "450.408.256" for nvidia-driver-450)
210
211 Returns device value for opencl and vulkan. Returns remote
212 device value for RPC devices. Returns None for all other
213 devices.
214
215 Returns
216 -------
217 version : str or None
218 The version string in `major.minor.patch` format.
219
220 """
221 return self._GetDeviceAttr(self.dlpack_device_type(), self.index, 12)
222
223 @property
224 def l2_cache_size_bytes(self):

Callers

nothing calls this directly

Calls 1

_GetDeviceAttrMethod · 0.95

Tested by

no test coverage detected