Skip to content

CoreId

#include <qbruntime/type.h>

struct mobilint::CoreId

Represents a unique identifier for an NPU core.

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

Attributes

Member Description
cluster
core

cluster

Cluster cluster

Cluster to which the core belongs.

core

Core core

Core within the Cluster.

Member functions

Member Description
operator== Checks if two CoreId objects are equal.
operator< Compares two CoreId objects for ordering.

operator==

bool operator==(const CoreId &rhs) const

Checks if two CoreId objects are equal.

Parameters

  • rhs [in] — Another CoreId object.

Returns

True if both CoreId objects are identical, false otherwise.

operator<

bool operator<(const CoreId &rhs) const

Compares two CoreId objects for ordering.

Parameters

  • rhs [in] — Another CoreId object.

Returns

True if this CoreId is less than the given CoreId, false otherwise.