Replace the HSA standalone test

Change-Id: I89e6826eef412890185ec600cd806c7b516e62a9
This commit is contained in:
Laurent Morichetti
2022-05-19 22:10:59 -07:00
parent b34e9c2ee4
commit c66fc25741
35 changed files with 582 additions and 12151 deletions
+3 -3
View File
@@ -114,7 +114,7 @@ eval_test() {
# Tests dry run
eval_test "MatrixTranspose dry run" ./test/MatrixTranspose MatrixTranspose_dryrun_trace
eval_test "ctrl dry run" ./test/hsa/ctrl ctrl_dryrun_trace
eval_test "copy dry run" ./test/copy copy_dryrun_trace
# Standalone test
# rocTrecer is used explicitely by test
@@ -158,11 +158,11 @@ export ROCP_AGENTS=1
# each thread creates a queue pre GPU agent
export ROCP_THRS=1
eval_test "tool HSA test" ./test/hsa/ctrl ctrl_hsa_trace
eval_test "tool HSA test" ./test/copy copy_hsa_trace
echo "<trace name=\"HSA\"><parameters api=\"hsa_agent_get_info, hsa_amd_memory_pool_allocate\"></parameters></trace>" > test/input.xml
export ROCP_INPUT=test/input.xml
eval_test "tool HSA test input" ./test/hsa/ctrl ctrl_hsa_input_trace
eval_test "tool HSA test input" ./test/copy copy_hsa_input_trace
unset ROCP_INPUT
export HSA_TOOLS_LIB="$ROCTRACER_LIB_PATH/libroctracer64.so ./test/libhsaco_test.so"