6 namespace isce3 {
namespace cuda {
namespace core {
25 explicit operator std::string()
const
27 return std::to_string(
major) +
"." + std::to_string(
minor);
32 return os << std::string(cc);
38 return lhs.major == rhs.major and lhs.minor == rhs.minor;
44 return not(lhs == rhs);
50 return lhs.major < rhs.major or
51 (lhs.major == rhs.major and lhs.minor < rhs.minor);
57 return lhs.major > rhs.major or
58 (lhs.major == rhs.major and lhs.minor > rhs.minor);
64 return not(lhs > rhs);
70 return not(lhs < rhs);
CUDA device compute capability.
Definition: ComputeCapability.h:14
int major
Major compute version.
Definition: ComputeCapability.h:73
constexpr ComputeCapability(int major, int minor)
Construct a new ComputeCapability object.
Definition: ComputeCapability.h:21
int minor
Minor compute version.
Definition: ComputeCapability.h:74