unit tests: limiting maximum memory usage

Aperta
#248 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@uartie ci sta già lavorando.

Dal 14/10/2021.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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?
Lingua principale
C
Stelle
244
Fork
175
Merge medio
9g 7h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di intel/libva-utils

Tutte le issue di intel/libva-utils

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.