From 5ef6362b986bf3a22c826c9377881b3bfce1f2fd Mon Sep 17 00:00:00 2001 From: Artyom Tugaryov Date: Wed, 8 Sep 2021 17:19:19 +0300 Subject: [PATCH] Check installed intel-opencl-icd to find version --- scripts/install_dependencies/install_NEO_OCL_driver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_dependencies/install_NEO_OCL_driver.sh b/scripts/install_dependencies/install_NEO_OCL_driver.sh index 33dfae90fa8eea..b1a28a4ce70f6b 100755 --- a/scripts/install_dependencies/install_NEO_OCL_driver.sh +++ b/scripts/install_dependencies/install_NEO_OCL_driver.sh @@ -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