Skip to content

[Protopipe] Add support to set workload type at runtime#33832

Merged
fcmiron merged 10 commits intoopenvinotoolkit:masterfrom
fcmiron:add_support_for_dynamic_workload
Feb 5, 2026
Merged

[Protopipe] Add support to set workload type at runtime#33832
fcmiron merged 10 commits intoopenvinotoolkit:masterfrom
fcmiron:add_support_for_dynamic_workload

Conversation

@fcmiron
Copy link
Contributor

@fcmiron fcmiron commented Jan 27, 2026

Details:

Tickets:

@fcmiron fcmiron requested review from a team as code owners January 27, 2026 09:34
@github-actions github-actions bot added the category: NPU OpenVINO NPU plugin label Jan 27, 2026
@fcmiron fcmiron requested a review from a team as a code owner January 27, 2026 11:52
@fcmiron fcmiron requested review from ValentinaKats and removed request for a team January 27, 2026 11:52
@github-actions github-actions bot added the category: docs OpenVINO documentation label Jan 27, 2026
@fcmiron fcmiron requested a review from Copilot January 27, 2026 11:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 WorkloadTypeDesc and WorkloadTypeInfo structures 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.

@fcmiron fcmiron force-pushed the add_support_for_dynamic_workload branch from af47ba8 to 8edca68 Compare February 4, 2026 12:11
@fcmiron fcmiron added this pull request to the merge queue Feb 5, 2026
Merged via the queue into openvinotoolkit:master with commit ab0c9fb Feb 5, 2026
186 checks passed
@fcmiron fcmiron deleted the add_support_for_dynamic_workload branch February 5, 2026 16:59
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*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: docs OpenVINO documentation category: NPU OpenVINO NPU plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants