Skip to content

Commit 95bd51b

Browse files
committed
TODO: temporary commit
1 parent a9f0fe8 commit 95bd51b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/reusable_gpu.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ 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}}
109+
run: |
110+
LD_DEBUG=files,libs ./test/umf_test-provider_level_zero --gtest_filter=test.TestDlOpen
111+
LD_DEBUG=files,libs ./test/umf_test-provider_level_zero_dlopen --gtest_filter=test.TestDlOpen
112+
107113
- name: Run tests
108114
working-directory: ${{env.BUILD_DIR}}
109115
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test

test/providers/provider_level_zero.cpp

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

213+
//TODO: REMOVE. Added to test L0 CI Runner
214+
TEST_F(test, TestDlOpen) {
215+
void *handle =
216+
utils_open_library("libze_loader.so", UMF_UTIL_OPEN_LIBRARY_NO_LOAD);
217+
ASSERT_NE(handle, nullptr);
218+
}
219+
213220
class LevelZeroMemoryAccessor : public MemoryAccessor {
214221
public:
215222
LevelZeroMemoryAccessor(ze_context_handle_t hContext,

0 commit comments

Comments
 (0)