Files
rocm-systems/samples/run_samples.sh
T
gobhardw d6f481e570 Fixing standalone sample compilation and CHANGELOG
Change-Id: I4b8cf46b32e3d76bcedeadb12357fb6eed1ee213
2023-05-17 11:46:24 -04:00

26 rindas
631 B
Bash
Izpildāmais fails

#!/bin/bash
CURRENT_DIR=$(dirname -- $(realpath ${BASH_SOURCE[0]}));
ROCM_PATH="${ROCM_PATH:=/opt/rocm}"
echo -e "Running Samples"
export ROCPROFILER_METRICS_PATH=${ROCM_PATH}/libexec/rocprofiler/counters/derived_counters.xml
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:"
echo -e "\t\tHIP/HSA Trace Synchronous Sample:"
eval ${CURRENT_DIR}/tracer_hip_hsa
echo -e "\t\tHIP/HSA Trace ASynchronous Sample:"
eval ${CURRENT_DIR}/tracer_hip_hsa_async