diff --git a/projects/rocprofiler/test/app/intercept_test.cpp b/projects/rocprofiler/test/app/intercept_test.cpp index a24d5530d5..c2905d1eea 100644 --- a/projects/rocprofiler/test/app/intercept_test.cpp +++ b/projects/rocprofiler/test/app/intercept_test.cpp @@ -30,14 +30,8 @@ THE SOFTWARE. #include #include -#include "ctrl/run_kernel.h" -#include "ctrl/test_aql.h" -#include "ctrl/test_hsa.h" #include "inc/rocprofiler.h" -#include "dummy_kernel/dummy_kernel.h" -#include "simple_convolution/simple_convolution.h" -#include "util/test_assert.h" -#include "util/xml.h" +#include "util/hsa_rsrc_factory.h" #define PUBLIC_API __attribute__((visibility("default"))) #define CONSTRUCTOR_API __attribute__((constructor)) diff --git a/projects/rocprofiler/test/run.sh b/projects/rocprofiler/test/run.sh index d969aa0d65..f05542ecf7 100755 --- a/projects/rocprofiler/test/run.sh +++ b/projects/rocprofiler/test/run.sh @@ -83,8 +83,11 @@ eval_test "Standalone sampling usage model test" ./test/standalone_test # Standalone intercepting test # ROC profiler library loaded by HSA runtime export HSA_TOOLS_LIB=librocprofiler64.so.1 +# enable intercepting mode in rocprofiler export ROCP_HSA_INTERCEPT=2 +# test macro for kernel iterations number export ROCP_KITER=100 +# test macro for per-kernel dispatching number export ROCP_DITER=10 eval_test "Standalone intercepting test" ./test/stand_intercept_test unset ROCP_HSA_INTERCEPT