Test Compute
Run the rocprof-compute test suite by invoking:
~/.cursor/skills/test-compute/scripts/run-tests.sh.
This skill assumes the build has already been produced by the sibling
build-compute skill.
Quick start
- Run the full suite from the rocprof-compute source root:
~/.cursor/skills/test-compute/scripts/run-tests.sh
- Filter to a subset of tests:
~/.cursor/skills/test-compute/scripts/run-tests.sh \
--filter analyze
- Point at a custom build directory:
~/.cursor/skills/test-compute/scripts/run-tests.sh \
--source-dir ~/dev/rocm-systems/projects/rocprofiler-compute \
--build-dir out/build_coverage
Behavior rules
- Wraps
ctest --test-dir <build-dir> --output-on-failure --parallel <jobs>. - Build dir defaults to
build(resolved under--source-dirwhen relative). - Jobs default to host CPU auto-detection; override with
--jobs. - Refuses to run if the build dir is missing or has no
CTestTestfile.cmake. - Builds are produced by the
build-computeskill; this skill never builds.
Additional resources
- REFERENCE.md
- EXAMPLES.md