ArmNN
 24.02
BackendVersion Struct Reference

#include <IBackendInternal.hpp>

Public Member Functions

constexpr BackendVersion ()
 
constexpr BackendVersion (uint32_t major, uint32_t minor)
 
bool operator== (const BackendVersion &other) const
 
bool operator<= (const BackendVersion &other) const
 
bool operator>= (const BackendVersion &other) const
 

Public Attributes

uint32_t m_Major
 
uint32_t m_Minor
 

Detailed Description

Definition at line 34 of file IBackendInternal.hpp.

Constructor & Destructor Documentation

◆ BackendVersion() [1/2]

constexpr BackendVersion ( )
inlineconstexpr

Definition at line 39 of file IBackendInternal.hpp.

40  : m_Major(0)
41  , m_Minor(0)
42  {}

◆ BackendVersion() [2/2]

constexpr BackendVersion ( uint32_t  major,
uint32_t  minor 
)
inlineconstexpr

Definition at line 43 of file IBackendInternal.hpp.

44  : m_Major(major)
45  , m_Minor(minor)
46  {}

Member Function Documentation

◆ operator<=()

bool operator<= ( const BackendVersion other) const
inline

Definition at line 55 of file IBackendInternal.hpp.

56  {
57  return this->m_Major < other.m_Major ||
58  (this->m_Major == other.m_Major &&
59  this->m_Minor <= other.m_Minor);
60  }

References BackendVersion::m_Major, and BackendVersion::m_Minor.

◆ operator==()

bool operator== ( const BackendVersion other) const
inline

Definition at line 48 of file IBackendInternal.hpp.

49  {
50  return this == &other ||
51  (this->m_Major == other.m_Major &&
52  this->m_Minor == other.m_Minor);
53  }

References BackendVersion::m_Major, and BackendVersion::m_Minor.

◆ operator>=()

bool operator>= ( const BackendVersion other) const
inline

Definition at line 62 of file IBackendInternal.hpp.

63  {
64  return this->m_Major > other.m_Major ||
65  (this->m_Major == other.m_Major &&
66  this->m_Minor >= other.m_Minor);
67  }

References BackendVersion::m_Major, and BackendVersion::m_Minor.

Member Data Documentation

◆ m_Major

◆ m_Minor


The documentation for this struct was generated from the following file:
armnn::BackendVersion::m_Minor
uint32_t m_Minor
Definition: IBackendInternal.hpp:37
armnn::BackendVersion::m_Major
uint32_t m_Major
Definition: IBackendInternal.hpp:36