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
Este commit está contenido en:
Chun Yang
2021-09-29 18:51:36 -07:00
cometido por Ammar Elwazir
padre 2519d00c17
commit a8b5d6cf33
Se han modificado 2 ficheros con 17 adiciones y 21 borrados
+1 -1
Ver fichero
@@ -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