Modify the videoDecodePerf app to take an argument for memory type (#424)

[ROCm/rocdecode commit: 0ba9992247]
This commit is contained in:
Aryan Salmanpour
2024-09-24 19:06:50 -04:00
committed by GitHub
parent 0cf8f6ee66
commit 6f1871777f
2 changed files with 19 additions and 2 deletions
@@ -35,4 +35,9 @@ make -j
-disp_delay <display delay - specify the number of frames to be delayed for display [optional]>
-d <Device ID (>= 0) [optional - default:0]>
-z <force_zero_latency - Decoded frames will be flushed out for display immediately [optional]>
-m <Memory type (integer values between 0 to 3: specifies where to store the decoded output:
0 = decoded output will be in internal interopped memory,
1 = decoded output will be copied to a separate device memory
2 = decoded output will be copied to a separate host memory
3 = decoded output will not be available (decode only)) [optional; default: 3]>
```