cub::SmVersionUncached

Defined in cub/util_device.cuh

inline cudaError_t cub::SmVersionUncached(int &sm_version, int device = CurrentDevice())

Retrieves the SM version (i.e.

compute capability) of device (major * 100 + minor * 10)