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 to which the core belongs.
core¶
Member functions¶
| Member | Description |
|---|---|
operator== |
Checks if two CoreId objects are equal. |
operator< |
Compares two CoreId objects for ordering. |
operator==¶
Checks if two CoreId objects are equal.
Parameters
rhs[in] — Another CoreId object.
Returns
True if both CoreId objects are identical, false otherwise.
operator<¶
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.