cuda.bindings._v2.driver.device_compute_capability#
- cuda.bindings._v2.driver.device_compute_capability(int dev) tuple#
Returns the compute capability of the device.
[Deprecated]. This function was deprecated as of CUDA 5.0 and its functionality superseded by
device_get_attribute(). Returns in*majorand*minorthe major and minor revision numbers that define the compute capability of the devicedev.- Parameters:
dev (int) – Device handle.
- Returns:
int: Major revision number.
int: Minor revision number.
- Return type:
A 2-tuple containing
See also
cuDeviceComputeCapability