Skip to content

Commit ffc8247

Browse files
authored
[UR] Properly print urinfo (#18056)
1 parent 99a228b commit ffc8247

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

unified-runtime/.github/scripts/get_system_info.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
# get_system_info.sh - Script for printing system info
99

10+
builddir="$(dirname "$(readlink -f "$0")")/../../../build"
11+
1012
function check_L0_version {
1113
if command -v dpkg &> /dev/null; then
1214
dpkg -l | grep level-zero && return
@@ -52,8 +54,8 @@ function system_info {
5254
lscpu
5355
echo "**********/proc/meminfo**********"
5456
cat /proc/meminfo
55-
echo "**********build/bin/urinfo**********"
56-
$(dirname "$(readlink -f "$0")")/../../build/bin/urinfo --no-linear-ids --verbose || true
57+
echo "**********urinfo**********"
58+
LD_LIBRARY_PATH=$builddir/lib $builddir/bin/urinfo --no-linear-ids --verbose || true
5759
echo "******OpenCL*******"
5860
# The driver version of OpenCL Graphics is the compute-runtime version
5961
clinfo || echo "OpenCL not installed"

0 commit comments

Comments
 (0)