SWDEV-283942 SWDEV-292075

Fixed exception thrown when ROCP_HSA_INTERCEPT not set or set to 0;
Fixed ROCM hsa_init() failed with error 4096 when trying to read hardware performance counters;
Fixed LD_LIBRARY_PATH to include necessary library;

Change-Id: Idcb7ff807a79f4267374c34041d3bca33d85f532


[ROCm/rocprofiler commit: a8b5d6cf33]
이 커밋은 다음에 포함됨:
Chun Yang 작성하고 Ammar Elwazir가 2021-10-05 10:44:26 -04:00를 커밋함
1 부모 7978c0b16b
커밋 b02e28f286
2 파일이 변경됨
+17 -21

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -57,7 +57,7 @@ eval_test() {
}
# paths to ROC profiler and oher libraries
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD:$PWD/../../lib:/home/jenkins/compute-package/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD:$PWD/../../lib:/opt/rocm/lib
# enable tools load failure reporting
export HSA_TOOLS_REPORT_LOAD_FAILURE=1