We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa8c64a commit c5097d7Copy full SHA for c5097d7
python/tests/xpu_packages_test.sh
@@ -14,7 +14,6 @@
14
# See the License for the specific language governing permissions and
15
# limitations under the License.
16
17
-
18
## Checks if drivers are installed correctly
19
device=$(clinfo | grep 'Intel(R) Data Center GPU')
20
@@ -26,9 +25,7 @@ fi
26
25
## checks for the presence of MKL,DPCPP and CCL/MPI Packages in OneAPI directory
27
list=("/opt/intel/oneapi/redist/lib" "/opt/intel/oneapi/redist/lib/ccl" "/opt/intel/oneapi/redist/lib/mpi")
28
29
30
-for i in "${list[@]}"
31
-do
+for i in "${list[@]}";do
32
if [[ ! -d "${i}" ]]; then
33
echo "OneAPI libraries not found/installed!"
34
exit 1
0 commit comments