Skip to content

Commit 56a6340

Browse files
authored
Merge branch 'main' into export-D81646110
2 parents 8c568f8 + ea37202 commit 56a6340

File tree

17 files changed

+3267
-180
lines changed

17 files changed

+3267
-180
lines changed

.github/workflows/trunk.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
tags:
99
- ciflow/trunk/*
1010
pull_request:
11-
paths:
12-
- .ci/docker/ci_commit_pins/pytorch.txt
13-
- .ci/scripts/**
1411
workflow_dispatch:
1512

1613
concurrency:
@@ -1002,4 +999,4 @@ jobs:
1002999
.ci/scripts/setup-windows.ps1
10031000
10041001
powershell .ci/scripts/test_model.ps1 -modelName ${{ matrix.model }} -backend ${{ matrix.backend }}
1005-
}"
1002+
}"

backends/arm/scripts/vulkan_utils.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ else
3636
fi
3737

3838
function setup_vulkan_sdk() {
39-
40-
if command -v vulkaninfo > /dev/null 2>&1; then
41-
echo "[${FUNCNAME[0]}] Vulkan SDK already installed..."
39+
if command -v glslc > /dev/null 2>&1; then
40+
echo "[${FUNCNAME[0]}] GLSL already installed, no need to get Vulkan SDK..."
4241
enable_vulkan_sdk=0
4342
return
4443
fi
@@ -57,10 +56,11 @@ function setup_vulkan_sdk() {
5756
tar -C ${vulkan_sdk_base_dir} -xJf "${vulkan_sdk_tar_file}"
5857

5958
vulkan_sdk_bin_path="$(cd ${vulkan_sdk_bin_dir} && pwd)"
60-
if ${vulkan_sdk_bin_path}/vulkaninfo > /dev/null 2>&1; then
61-
echo "[${FUNCNAME[0]}] Vulkan SDK OK"
59+
if ${vulkan_sdk_bin_path}/glslc --version > /dev/null 2>&1; then
60+
echo "[${FUNCNAME[0]}] Vulkan SDK install (GLSL) OK"
6261
else
63-
echo "[${FUNCNAME[0]}] Vulkan SDK NOK - perhaps need manual install of swifthshader or mesa-vulkan driver?"
62+
echo "[${FUNCNAME[0]}] Vulkan SDK install NOK - glslc returned error"
63+
${vulkan_sdk_bin_path}/glslc --version
6464
exit 1
6565
fi
6666
}

0 commit comments

Comments
 (0)