Files
rocm-systems/projects/rocprofiler-systems/tests/rocprof-sys-videodecode-tests.cmake
T
Sajina PK b502b03be2 Add tests to check VCN activity tracing in perfetto output (#75)
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]
2025-01-29 16:53:16 -05:00

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")