skcuda.misc.get_compute_capability

skcuda.misc.get_compute_capability(dev)[source]

Get the compute capability of the specified device.

Retrieve the compute capability of the specified CUDA device and return it as a floating point value.

Parameters:d (pycuda.driver.Device) – Device object to examine.
Returns:c – Compute capability.
Return type:float