The nvmath. module is experimental and potentially subject to future changes.
current_device_sm#
-
nvmath.
device. current_device_sm() ComputeCapability[source]# A helper function to get the default SM for mathdx types on the current device.
- Returns:
A
ComputeCapabilityobject representing the default SM for mathdx types on the current device.