Skip to content

Commit 77b3e6f

Browse files
TEST BMG
1 parent 451b8fb commit 77b3e6f

File tree

3 files changed

+4
-107
lines changed

3 files changed

+4
-107
lines changed

.github/scripts/get_system_info.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
function check_L0_version {
99
if command -v dpkg &> /dev/null; then
10-
dpkg -l | grep level-zero && return
10+
dpkg -l | grep -iE "level-zero|libze" && return
1111
fi
1212

1313
if command -v rpm &> /dev/null; then

.github/workflows/pr_push.yml

Lines changed: 2 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -16,80 +16,9 @@ permissions:
1616
contents: read
1717

1818
jobs:
19-
CodeChecks:
20-
uses: ./.github/workflows/reusable_checks.yml
21-
DocsBuild:
22-
uses: ./.github/workflows/reusable_docs_build.yml
23-
FastBuild:
24-
name: Fast builds
25-
needs: [CodeChecks, DocsBuild]
26-
uses: ./.github/workflows/reusable_fast.yml
27-
Build:
28-
name: Basic builds
29-
needs: [FastBuild]
30-
uses: ./.github/workflows/reusable_basic.yml
31-
DevDax:
32-
needs: [FastBuild]
33-
uses: ./.github/workflows/reusable_dax.yml
34-
MultiNuma:
35-
needs: [FastBuild]
36-
uses: ./.github/workflows/reusable_multi_numa.yml
3719
L0:
38-
needs: [Build]
3920
uses: ./.github/workflows/reusable_gpu.yml
4021
with:
4122
name: "LEVEL_ZERO"
42-
shared_lib: "['ON']"
43-
CUDA:
44-
needs: [Build]
45-
uses: ./.github/workflows/reusable_gpu.yml
46-
with:
47-
name: "CUDA"
48-
shared_lib: "['ON']"
49-
Sanitizers:
50-
needs: [FastBuild]
51-
uses: ./.github/workflows/reusable_sanitizers.yml
52-
QEMU:
53-
needs: [FastBuild]
54-
uses: ./.github/workflows/reusable_qemu.yml
55-
with:
56-
short_run: true
57-
ProxyLib:
58-
needs: [Build]
59-
uses: ./.github/workflows/reusable_proxy_lib.yml
60-
Valgrind:
61-
needs: [Build]
62-
uses: ./.github/workflows/reusable_valgrind.yml
63-
Coverage:
64-
# total coverage (on upstream only)
65-
if: github.repository == 'oneapi-src/unified-memory-framework'
66-
needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib]
67-
uses: ./.github/workflows/reusable_coverage.yml
68-
secrets: inherit
69-
with:
70-
trigger: "${{github.event_name}}"
71-
Coverage_partial:
72-
# partial coverage (on forks)
73-
if: github.repository != 'oneapi-src/unified-memory-framework'
74-
needs: [Build, QEMU, ProxyLib]
75-
uses: ./.github/workflows/reusable_coverage.yml
76-
CodeQL:
77-
needs: [Build]
78-
permissions:
79-
contents: read
80-
security-events: write
81-
uses: ./.github/workflows/reusable_codeql.yml
82-
Trivy:
83-
needs: [Build]
84-
permissions:
85-
contents: read
86-
security-events: write
87-
uses: ./.github/workflows/reusable_trivy.yml
88-
Compatibility:
89-
needs: [Build]
90-
uses: ./.github/workflows/reusable_compatibility.yml
91-
strategy:
92-
matrix:
93-
tag: ["v0.11.0-dev1"]
94-
with:
95-
tag: ${{matrix.tag}}
23+
shared_lib: "['ON', 'OFF']"
24+
os: "['Ubuntu']"

.github/workflows/reusable_gpu.yml

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -49,33 +49,17 @@ jobs:
4949
- os: 'Ubuntu'
5050
compiler: {c: gcc, cxx: g++}
5151
number_of_processors: '$(nproc)'
52-
- os: 'Windows'
53-
compiler: {c: cl, cxx: cl}
54-
number_of_processors: '$Env:NUMBER_OF_PROCESSORS'
5552

56-
runs-on: ["DSS-${{inputs.name}}", "DSS-${{matrix.os}}"]
53+
runs-on: ["DSS-L0-BMG", "DSS-${{matrix.os}}"]
5754
steps:
5855
- name: Checkout
5956
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
6057
with:
6158
fetch-depth: 0
6259

6360
- name: Get information about platform
64-
if: matrix.os == 'Ubuntu'
6561
run: .github/scripts/get_system_info.sh
6662

67-
- name: "[Win] Initialize vcpkg"
68-
if: matrix.os == 'Windows'
69-
uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
70-
with:
71-
vcpkgGitCommitId: 3dd44b931481d7a8e9ba412621fa810232b66289
72-
vcpkgDirectory: ${{env.BUILD_DIR}}/vcpkg
73-
vcpkgJsonGlob: '**/vcpkg.json'
74-
75-
- name: "[Win] Install dependencies"
76-
if: matrix.os == 'Windows'
77-
run: vcpkg install
78-
7963
# note: disable all providers except the one being tested
8064
# '-DCMAKE_SUPPRESS_REGENERATION=ON' is the WA for the error: "CUSTOMBUILD : CMake error : Cannot restore timestamp"
8165
- name: Configure build
@@ -117,19 +101,3 @@ jobs:
117101
if: matrix.build_type == 'Release'
118102
working-directory: ${{env.BUILD_DIR}}
119103
run: ctest --output-on-failure --test-dir benchmark -C ${{matrix.build_type}} --exclude-regex umf-multithreaded
120-
121-
- name: Check coverage
122-
if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }}
123-
working-directory: ${{env.BUILD_DIR}}
124-
run: |
125-
export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}}
126-
echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME"
127-
../scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME
128-
mkdir -p ${{env.COVERAGE_DIR}}
129-
mv ./$COVERAGE_FILE_NAME ${{env.COVERAGE_DIR}}
130-
131-
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
132-
if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }}
133-
with:
134-
name: ${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}}
135-
path: ${{env.COVERAGE_DIR}}

0 commit comments

Comments
 (0)