Skip to content

Commit

Permalink
Check installed intel-opencl-icd to find version (#7427)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artyom Tugaryov authored Sep 8, 2021
1 parent d98cb7b commit 14e67d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install_dependencies/install_NEO_OCL_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ check_current_driver()
elif [[ $DISTRO == ubuntu ]]; then
gfx_version=$(dpkg-query --showformat='${Version}' --show intel-opencl)
if [[ -z "$gfx_version" ]]; then
gfx_version=$(dpkg-query --showformat='${Version}' --show intel-opencl)
gfx_version=$(dpkg-query --showformat='${Version}' --show intel-opencl-icd)
fi
fi

Expand Down

0 comments on commit 14e67d8

Please sign in to comment.