b502b03be2
The test will run sampling on the example from the rocDecode repo:
https://github.com/ROCm/rocDecode/tree/develop/samples/videoDecodeBatch
Then, ensure that the Perfetto output captures VCN activity in the trace.
[ROCm/rocprofiler-systems commit: 6dd4938b3e]
21 lines
661 B
CMake
21 lines
661 B
CMake
# -------------------------------------------------------------------------------------- #
|
|
#
|
|
# video decode tests
|
|
#
|
|
# -------------------------------------------------------------------------------------- #
|
|
|
|
rocprofiler_systems_add_test(
|
|
SKIP_BASELINE SKIP_RUNTIME SKIP_REWRITE
|
|
NAME videodecode
|
|
TARGET videodecode
|
|
GPU ON
|
|
RUN_ARGS -i ${ROCmVersion_DIR}/share/rocdecode/video/ -t 2
|
|
LABELS "videodecode")
|
|
|
|
rocprofiler_systems_add_validation_test(
|
|
NAME videodecode-sampling
|
|
PERFETTO_METRIC "host"
|
|
PERFETTO_FILE "perfetto-trace.proto"
|
|
LABELS "videodecode"
|
|
ARGS -l videodecode -c 1 -d 0 --counter-names "GPU VCN Activity")
|