CoreId Struct Reference

CoreId Struct Reference#

Runtime Library: mobilint::CoreId Struct Reference
Runtime Library v0.30
Mobilint SDK qb

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 147 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 157 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 167 of file type.h.

Member Data Documentation

◆ cluster

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

Cluster to which the core belongs.

Definition at line 148 of file type.h.

◆ core

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

Core within the Cluster.

Definition at line 149 of file type.h.


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