CoreId Struct Reference

CoreId Struct Reference#

SDK qb Runtime Library: mobilint::CoreId Struct Reference
SDK qb Runtime Library v1.0
MCS001-

Represents a unique identifier for an NPU core. More...

#include <type.h>

Public Member Functions

bool operator== (const CoreId &rhs) const
 Checks if two CoreId objects are equal.
bool operator< (const CoreId &rhs) const
 Compares two CoreId objects for ordering.

Public Attributes

Cluster cluster = Cluster::Error
Core core = Core::Error

Detailed Description

Represents a unique identifier for an NPU core.

A CoreId consists of a Cluster and a Core, identifying a specific core within an NPU.

Definition at line 123 of file type.h.

Member Function Documentation

◆ operator==()

bool mobilint::CoreId::operator== ( const CoreId & rhs) const
inline

Checks if two CoreId objects are equal.

Parameters
[in]rhsAnother CoreId object.
Returns
True if both CoreId objects are identical, false otherwise.

Definition at line 133 of file type.h.

◆ operator<()

bool mobilint::CoreId::operator< ( const CoreId & rhs) const
inline

Compares two CoreId objects for ordering.

Parameters
[in]rhsAnother CoreId object.
Returns
True if this CoreId is less than the given CoreId, false otherwise.

Definition at line 143 of file type.h.

Member Data Documentation

◆ cluster

Cluster mobilint::CoreId::cluster = Cluster::Error

Cluster to which the core belongs.

Definition at line 124 of file type.h.

◆ core

Core mobilint::CoreId::core = Core::Error

Core within the Cluster.

Definition at line 125 of file type.h.


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