Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
729 B
Bash
Raw Permalink Normal View History

2023-02-03 12:31:39 -06:00
#!/bin/bash
2025-09-19 10:31:12 +05:30
# Copyright © Advanced Micro Devices, Inc., or its affiliates.
# SPDX-License-Identifier: MIT
CURRENT_DIR=$(dirname -- $(realpath ${BASH_SOURCE[0]}));
ROCM_PATH="${ROCM_PATH:=/opt/rocm}"
2023-02-03 12:31:39 -06:00
echo -e "Running Samples"
export ROCPROFILER_METRICS_PATH=${ROCM_PATH}/libexec/rocprofiler/counters/derived_counters.xml
2023-02-03 12:31:39 -06:00
echo -e "\tProfiler Samples:"
echo -e "\t\tKernel Replay Sample:"
eval ${CURRENT_DIR}/profiler_kernel_replay
echo -e "\t\tDevice Profiling Sample:"
eval ${CURRENT_DIR}/profiler_device_profiling
echo -e "\tTracer Samples:"
2023-02-03 12:31:39 -06:00
echo -e "\t\tHIP/HSA Trace Synchronous Sample:"
eval ${CURRENT_DIR}/tracer_hip_hsa
2023-02-03 12:31:39 -06:00
echo -e "\t\tHIP/HSA Trace ASynchronous Sample:"
eval ${CURRENT_DIR}/tracer_hip_hsa_async