intel / intel/libva-utils

unit tests: limiting maximum memory usage

Open
#248 3 comments 0 reactions 1 assignee Claimed by @uartie View on GitHub
Dominant language
C
Stars
241
Forks
172
PR merge metrics
No merged PRs in 30d

Description

In order to complete the unit tests in a reasonable amount of time on low-end boards, I'd like to parallelize them. However, this runs into OOMkiller trouble with the larger resolutions being tested. My questions I have so far:

- I'm seeing 8k and 10k being allocated with 10 surfaces from CreateSurfaces -- is 10 a reasonable number of surfaces to need for all entrypoints?
- Could we clamp surface creation to `getMinMaxSurfaceResolution()`?
- Could we bake resolution name into test names so I can either filter out the large resolutions, or test them single-threaded?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.