scikits.cuda.misc.get_compute_capability

scikits.cuda.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 : float

Compute capability.