[snpe] Add performance profile configuration support#24
Merged
Conversation
|
It seems like you're missing the code to set 'perfProfile'. |
anyj0527
force-pushed
the
snpe-perf-profile
branch
from
December 11, 2025 02:19
5d81baa to
0ee583e
Compare
Member
Author
Thanks! I missed the effective line. I added those, PTAL |
jaeyun-jung
approved these changes
Dec 11, 2025
anyj0527
force-pushed
the
snpe-perf-profile
branch
from
December 11, 2025 03:40
0ee583e to
4ac65f4
Compare
abhajaswal
approved these changes
Dec 11, 2025
There was a problem hiding this comment.
@anyj0527 , LGTM, around 1 ms time difference seen when burst mode is enabled instead of deafult mode
usage:`... custom=Runtime:DSP,...,PerfProfile:"burst" ...`"
- Add support for configuring SNPE performance profiles through custom properties.
- The default performance profile is set to 'BALANCED'
REF:
```
typedef enum
{
SNPE_PERFORMANCE_PROFILE_DEFAULT = 0,
SNPE_PERFORMANCE_PROFILE_BALANCED = 0,
SNPE_PERFORMANCE_PROFILE_HIGH_PERFORMANCE = 1,
SNPE_PERFORMANCE_PROFILE_POWER_SAVER = 2,
SNPE_PERFORMANCE_PROFILE_SYSTEM_SETTINGS = 3,
SNPE_PERFORMANCE_PROFILE_SUSTAINED_HIGH_PERFORMANCE = 4,
SNPE_PERFORMANCE_PROFILE_BURST = 5,
SNPE_PERFORMANCE_PROFILE_LOW_POWER_SAVER = 6,
SNPE_PERFORMANCE_PROFILE_HIGH_POWER_SAVER = 7,
SNPE_PERFORMANCE_PROFILE_LOW_BALANCED = 8,
SNPE_PERFORMANCE_PROFILE_EXTREME_POWER_SAVER = 9,
} Snpe_PerformanceProfile_t;
```
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
anyj0527
force-pushed
the
snpe-perf-profile
branch
from
December 11, 2025 09:40
4ac65f4 to
7a0db80
Compare
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.
usage:
... custom=Runtime:DSP,...,PerfProfile:"burst" ...REF: