[WIP] common: verbose: asynchronous verbose mode for execution time tracking #3055
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.
WORK IN PROGRESS (PROTOTYPE) - DO NOT REVIEW
Description
This PR proposes a prototype for introducing an asynchronous verbose mode to accurately track kernel execution times for GPU engines. For the verbose mode, retrieving the kernel timing causes significant overhead as it requires the GPU kernel execution to be synchronized and also because it is tracked on the host.
The asynchronous mode uses event-based tracking to measure the GPU kernel execution to avoid the synchronization issue.
The prototype is created for SYCL/OCL GPU APIs that provide the kernel execution statistics for profiling.
Addresses MFDNN-12088.
Checklist