Skip to content

Commit bf35681

Browse files
committed
TODO: temporary commit
1 parent a9f0fe8 commit bf35681

File tree

3 files changed

+18
-65
lines changed

3 files changed

+18
-65
lines changed

.github/workflows/pr_push.yml

Lines changed: 1 addition & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -16,72 +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"
4223
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
24+

.github/workflows/reusable_gpu.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,15 @@ jobs:
104104
- name: Build UMF
105105
run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j ${{matrix.number_of_processors}}
106106

107+
- name: Run LD_DEBUG tests
108+
working-directory: ${{env.BUILD_DIR}}/test
109+
run: |
110+
LD_DEBUG=files,libs LD_LIBRARY_PATH="../lib" ./ipc_level_zero_prov.sh
111+
LD_DEBUG=files,libs LD_LIBRARY_PATH="../lib:$LD_LIBRARY_PATH" ./ipc_level_zero_prov.sh
112+
107113
- name: Run tests
108114
working-directory: ${{env.BUILD_DIR}}
109-
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
115+
run: LD_LIBRARY_PATH="./lib:$LD_LIBRARY_PATH" ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
110116

111117
- name: Run examples
112118
working-directory: ${{env.BUILD_DIR}}

test/providers/provider_level_zero.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,16 @@ TEST_F(test, FailMismatchedResidentHandlesCount) {
210210
umfLevelZeroMemoryProviderParamsDestroy(hParams);
211211
}
212212

213+
//TODO: REMOVE. Added to test L0 CI Runner
214+
TEST_F(test, TestDlOpen) {
215+
LevelZeroTestHelper l0TestHelper;
216+
ASSERT_NE(l0TestHelper.get_test_context(), nullptr);
217+
ASSERT_NE(l0TestHelper.get_test_device(), nullptr);
218+
void *handle =
219+
utils_open_library("libze_loader.so", UMF_UTIL_OPEN_LIBRARY_NO_LOAD);
220+
ASSERT_NE(handle, nullptr);
221+
}
222+
213223
class LevelZeroMemoryAccessor : public MemoryAccessor {
214224
public:
215225
LevelZeroMemoryAccessor(ze_context_handle_t hContext,

0 commit comments

Comments
 (0)