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.
Adds an entry to the output log called
warmup overhead time
which is the difference of themedian execution time
andwarm up time
. This ovehead time points to the time spent in jit-compilation (as in the case of numba-dpex) or framework load time (as in the case of dpnp, numpy). Sample output below.Fixes #336 .
================ implementation numba_dpex_k ========================
implementation: numba_dpex_k
framework: numba_dpex
framework version: 0.22.0.dev2+3.g59d523892
input size: 20971520
setup time: 372.803065ms (372803065 ns)
warmup time: 821.023662ms (821023662 ns)
teardown time: 4.727934ms (4727934 ns)
max execution times: 2.488874ms (2488874 ns)
min execution times: 2.062158ms (2062158 ns)
median execution times: 2.091041ms (2091041 ns)
warmup overhead time (warmup time - median execution time): 818.932621ms (818932621 ns)
repeats: 10
preset: S
validated: Success