isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | Friends | List of all members
isce3::cuda::core::ComputeCapability Struct Reference

CUDA device compute capability. More...

#include <ComputeCapability.h>

Public Member Functions

constexpr ComputeCapability (int major, int minor)
 Construct a new ComputeCapability object. More...
 
 operator std::string () const
 

Public Attributes

int major
 Major compute version.
 
int minor
 Minor compute version.
 

Friends

std::ostream & operator<< (std::ostream &os, ComputeCapability cc)
 
constexpr bool operator== (ComputeCapability lhs, ComputeCapability rhs) noexcept
 
constexpr bool operator!= (ComputeCapability lhs, ComputeCapability rhs) noexcept
 
constexpr bool operator< (ComputeCapability lhs, ComputeCapability rhs) noexcept
 
constexpr bool operator> (ComputeCapability lhs, ComputeCapability rhs) noexcept
 
constexpr bool operator<= (ComputeCapability lhs, ComputeCapability rhs) noexcept
 
constexpr bool operator>= (ComputeCapability lhs, ComputeCapability rhs) noexcept
 

Detailed Description

CUDA device compute capability.

ComputeCapability identifies a CUDA device's architecture generation and feature compatibility.

Constructor & Destructor Documentation

constexpr isce3::cuda::core::ComputeCapability::ComputeCapability ( int  major,
int  minor 
)
inline

Construct a new ComputeCapability object.

Parameters
[in]majorMajor compute version
[in]minorMinor compute version

The documentation for this struct was generated from the following file:

Generated for ISCE3.0 by doxygen 1.8.5.