Skip to content

Commit 90b6098

Browse files
2025UD28 RC1 Content (#133)
* Update cmake, scripts, sw_runtime_kernels, tools, validation and root * Update src * Update tests * Update llvm * Update elf * Restore image * Update NN cost model * Enable Driver build * Elf submodule name fix * Add driver versioning * Restore copyright yearsd * Action outputs name bug fix
1 parent c146d6a commit 90b6098

File tree

4,198 files changed

+48236
-30172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,198 files changed

+48236
-30172
lines changed

.clang-format

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ FixNamespaceComments: true
2323
IncludeBlocks: Preserve
2424
IndentCaseLabels: false
2525
IndentWidth: 4
26+
InsertBraces: true
27+
InsertNewlineAtEOF: true
2628
PointerAlignment: Left
2729
SpaceBeforeCpp11BracedList: false
2830
SpaceBeforeCtorInitializerColon: false

.github/actions/versions/action.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ outputs:
1717
npu-compiler-tag:
1818
description: 'NPU Compiler custom tag to be used in the packages build'
1919
value: ${{ steps.create-npu-tag.outputs.npu-compiler-tag }}
20+
npu-linux-driver-repository:
21+
description: 'NPU Linux Driver Repository full name: fork/linux-npu-driver'
22+
value: ${{ steps.read-linux-npu-driver-sha.outputs.drv-repository }}
23+
npu-linux-driver-sha:
24+
description: 'NPU Linux Driver commit SHA'
25+
value: ${{ steps.read-linux-npu-driver-sha.outputs.drv-sha }}
2026
omz-repository:
2127
description: 'Open Model Zoo Repository full name: for/open_model_zoo'
2228
value: ${{ steps.read-omz-sha.outputs.omz-repository }}
@@ -64,6 +70,23 @@ runs:
6470
echo "openvino-repository=$OV_ORG/openvino" >> $GITHUB_OUTPUT
6571
echo "openvino-sha=$OV_SHA" >> $GITHUB_OUTPUT
6672
73+
- name: Fetch and parse Linux NPU Driver config from NPU Compiler
74+
id: read-linux-npu-driver-sha
75+
shell: bash
76+
run: |
77+
NPU_REPO=${{ steps.get-npu-sha.outputs.npu-compiler-repository }}
78+
NPU_SHA=${{ steps.get-npu-sha.outputs.npu-compiler-sha }}
79+
JSON=$(curl -s \
80+
-H "Accept: application/vnd.github.v3.raw" \
81+
https://api.github.com/repos/${NPU_REPO}/contents/validation/linux_npu_driver_config.json?ref=${NPU_SHA} \
82+
)
83+
DRV_ORG=$(echo "$JSON" | jq -r 'to_entries[0].key')
84+
DRV_SHA=$(echo "$JSON" | jq -r 'to_entries[0].value')
85+
echo "Linux NPU Driver orgranization = $DRV_ORG"
86+
echo "Linux NPU Driver commit sha = $DRV_SHA"
87+
echo "drv-repository=$DRV_ORG/linux-npu-driver" >> $GITHUB_OUTPUT
88+
echo "drv-sha=$DRV_SHA" >> $GITHUB_OUTPUT
89+
6790
- name: Fetch and parse OMZ config from OpenVINO
6891
id: read-omz-sha
6992
shell: bash

.github/workflows/job_build_driver_linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ jobs:
8888
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8989
timeout-minutes: 15
9090
with:
91-
repository: intel/linux-npu-driver
91+
repository: ${{ steps.versions.outputs.npu-linux-driver-repository }}
9292
path: ${{ env.NPU_DRIVER_REPO }}
9393
submodules: true
94+
ref: ${{ steps.versions.outputs.npu-linux-driver-sha }}
9495

9596
- name: System info
9697
if: ${{ !steps.cache-restore.outputs.cache-hit }}

.github/workflows/ubuntu_22.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
build-cache: false
3030
build-cache-key-suffix: cache_${{ github.ref_name }}
3131
build-mlir: true
32-
build-driver: false
32+
build-driver: true
3333
run-unit-tests: true
3434
run-lit-tests: true
3535
run-compilation-tests: true

.github/workflows/ubuntu_24.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
build-cache: false
3030
build-cache-key-suffix: cache_${{ github.ref_name }}
3131
build-mlir: true
32-
build-driver: false
33-
run-unit-tests: false
34-
run-lit-tests: false
32+
build-driver: true
33+
run-unit-tests: true
34+
run-lit-tests: true
3535
run-compilation-tests: true

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Copyright (C) 2022-2025 Intel Corporation.
3-
# SPDX-License-Identifier: Apache 2.0
3+
# SPDX-License-Identifier: Apache-2.0
44
#
55

66
#
@@ -192,3 +192,4 @@ endif()
192192
#
193193

194194
ov_cpack(${NPU_CPACK_COMPONENTS_ALL})
195+

cmake/add_tool_target.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Copyright (C) 2022-2025 Intel Corporation.
3-
# SPDX-License-Identifier: Apache 2.0
3+
# SPDX-License-Identifier: Apache-2.0
44
#
55

66
#[[

cmake/compile_options.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
2-
# Copyright (C) 2022-2024 Intel Corporation.
3-
# SPDX-License-Identifier: Apache 2.0
2+
# Copyright (C) 2022-2025 Intel Corporation.
3+
# SPDX-License-Identifier: Apache-2.0
44
#
55

66
include("${CMAKE_CURRENT_LIST_DIR}/compile_options_llvm.cmake")

cmake/compile_options_llvm.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Copyright (C) 2024-2025 Intel Corporation.
3-
# SPDX-License-Identifier: Apache 2.0
3+
# SPDX-License-Identifier: Apache-2.0
44
#
55

66
macro(set_llvm_flags)

cmake/coverage.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Copyright (C) 2023-2025 Intel Corporation
3-
# SPDX-License-Identifier: Apache 2.0
3+
# SPDX-License-Identifier: Apache-2.0
44
#
55

66
if(NOT VPUX_CODE_COVERAGE)

0 commit comments

Comments
 (0)