From b9f4ca0759b93a6ad888df675e0e7321bf3bf42e Mon Sep 17 00:00:00 2001 From: Evgeny Date: Tue, 15 Jan 2019 11:29:18 -0600 Subject: [PATCH] minor changes --- test/run.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/test/run.sh b/test/run.sh index c0742910b7..148f0412fc 100755 --- a/test/run.sh +++ b/test/run.sh @@ -24,9 +24,18 @@ # enable tools load failure reporting export HSA_TOOLS_REPORT_LOAD_FAILURE=1 +# paths to ROC profiler and oher libraries +export LD_LIBRARY_PATH=$PWD + +#make -C ../test/MatrixTranspose_test + +# ROC profiler library loaded by HSA runtime +export HSA_TOOLS_LIB="test/libtracer_tool.so libroctracer64.so" + +HCC_PROFILE=1 LD_PRELOAD=$HCC_HOME/lib/libmcwamp_hsa.so ./test/MatrixTranspose + # test trace export ROC_TEST_TRACE=1 - # kernels loading iterations export ROCP_KITER=1 # kernels dispatching iterations per kernel load @@ -38,14 +47,8 @@ export ROCP_AGENTS=1 # each thread creates a queue pre GPU agent export ROCP_THRS=1 -# paths to ROC profiler and oher libraries -export LD_LIBRARY_PATH=$PWD -# ROC profiler library loaded by HSA runtime -export HSA_TOOLS_LIB="test/libtracer_tool.so libroctracer64.so" -export LD_PRELOAD="$HSA_TOOLS_LIB" - +#export LD_PRELOAD="$HSA_TOOLS_LIB" #eval ./test/hsa/ctrl -HCC_PROFILE=1 LD_PRELOAD=$HCC_HOME/lib/libmcwamp_hsa.so ./test/MatrixTranspose #valgrind --leak-check=full $tbin #valgrind --tool=massif $tbin