[Protopipe] Add support to set workload type at runtime#33832
Merged
fcmiron merged 10 commits intoopenvinotoolkit:masterfrom Feb 5, 2026
Merged
[Protopipe] Add support to set workload type at runtime#33832fcmiron merged 10 commits intoopenvinotoolkit:masterfrom
fcmiron merged 10 commits intoopenvinotoolkit:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds runtime workload type configuration support to the Protopipe tool, allowing workload types to be changed dynamically during execution based on time or iteration intervals.
Changes:
- Introduces
WorkloadTypeDescandWorkloadTypeInfostructures to manage workload type configurations and runtime state - Adds workload type trigger checking to execution loops via
checkWorkloadTrigger()in termination criteria - Integrates workload type compile arguments into all simulation modes (performance, validation, reference)
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| workload_type.hpp | New header defining WorkloadTypeInfo structure for managing workload type state |
| validation_mode.cpp | Adds workload compile args to pipelined and sync compilation methods |
| simulation.hpp | Adds workload member to base Simulation class |
| reference_mode.cpp | Adds workload compile args and removes unused include |
| performance_mode.cpp | Adds workload compile args to compilation methods |
| executor.cpp | Adds workload trigger checks to execution loops |
| criterion.hpp | Adds workload trigger methods and state to ITermCriterion interface |
| criterion.cpp | Implements workload trigger logic for iterations and timeout criteria |
| parser.hpp | Defines WorkloadTypeDesc structure and adds it to StreamDesc |
| parser.cpp | Removes unused includes |
| config.cpp | Implements YAML parsing for workload_type configuration |
| main.cpp | Initializes workload type objects and sets initial values |
| README.md | Documents workload_type configuration parameters and usage |
| opencv_version.json | Updates OpenCV commit reference |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/plugins/intel_npu/tools/protopipe/src/scenario/criterion.cpp
Outdated
Show resolved
Hide resolved
src/plugins/intel_npu/tools/protopipe/src/scenario/criterion.cpp
Outdated
Show resolved
Hide resolved
src/plugins/intel_npu/tools/protopipe/src/scenario/criterion.cpp
Outdated
Show resolved
Hide resolved
SeptimiuIoachimNeagaIntel
approved these changes
Feb 4, 2026
af47ba8 to
8edca68
Compare
Naseer-010
pushed a commit
to Naseer-010/openvino
that referenced
this pull request
Feb 18, 2026
…kit#33832) ### Details: - Added new config options to change workload type after a configurable number of seconds or iterations. - Added new cv::compile_args to propagate the workload type changes to OpenCV - OpenCV changes: opencv/opencv#27460 ### Tickets: - *EISW-154405*
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details:
Tickets: