GetExecuteStreamId
Description
Obtains the stream ID used by the operation.
Definition
uint32_t GetExecuteStreamId(Operation *operation);
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
operation |
Input |
Operation pointer of the stream ID to be obtained. |
Returns
Type |
Input/Output |
Description |
|---|---|---|
uint32_t |
Output |
Stream ID used by the operation. |
Restrictions
If PluginOperation needs to use this function, it needs to inherit the base class of the OperationInfra API.
The stream ID obtained by a graph operator by calling this API cannot represent the overall stream ID because operations in the graph may not be on the same stream. The default stream ID is 0.
Parent topic: atb/operation.h