From f89a467bd6d75edc50716de0cb3c3d6b4579d943 Mon Sep 17 00:00:00 2001 From: Rafal Rudnicki Date: Thu, 3 Apr 2025 13:38:01 +0000 Subject: [PATCH 1/3] update compat workflow tags to v0.11.0-rc1 --- .github/workflows/pr_push.yml | 2 +- .github/workflows/reusable_compatibility.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index 202c72a9d9..184f038bac 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -100,6 +100,6 @@ jobs: uses: ./.github/workflows/reusable_compatibility.yml strategy: matrix: - tag: ["v0.11.0-dev1"] + tag: ["v0.11.0-rc1"] with: tag: ${{matrix.tag}} diff --git a/.github/workflows/reusable_compatibility.yml b/.github/workflows/reusable_compatibility.yml index c21d83d25e..af93cf5fd3 100644 --- a/.github/workflows/reusable_compatibility.yml +++ b/.github/workflows/reusable_compatibility.yml @@ -9,7 +9,7 @@ on: tag: description: Check backward compatibility with this tag type: string - default: "v0.11.0-dev1" + default: "v0.11.0-rc1" permissions: contents: read From 90bee844ae569151884f6f311c34dad721706d95 Mon Sep 17 00:00:00 2001 From: Rafal Rudnicki Date: Thu, 3 Apr 2025 13:38:22 +0000 Subject: [PATCH 2/3] enable filtered tests in compat wflow --- .github/workflows/reusable_compatibility.yml | 22 ++++---------------- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/.github/workflows/reusable_compatibility.yml b/.github/workflows/reusable_compatibility.yml index af93cf5fd3..f90416a7da 100644 --- a/.github/workflows/reusable_compatibility.yml +++ b/.github/workflows/reusable_compatibility.yml @@ -99,14 +99,10 @@ jobs: - name: Run "tag" UMF tests with latest UMF libs (warnings enabled) working-directory: ${{github.workspace}}/tag_version/build - # Disable incompatible tests: - # - GTEST_FILTER used to skip only single test cases - # - ctest's exclude - disable test binary that rely on internal structures run: > UMF_LOG="level:warning;flush:debug;output:stderr;pid:no" LD_LIBRARY_PATH=${{github.workspace}}/latest_version/build/lib/ - GTEST_FILTER="-*umfIpcTest.GetPoolByOpenedHandle*" - ctest --verbose -E "umf-mempolicy" + ctest --verbose # Browse all folders in the examples directory, build them using the # latest UMF version, and run them, excluding those in the exclude list. @@ -215,11 +211,8 @@ jobs: - name: Run "tag" UMF tests with latest UMF libs (warnings enabled) working-directory: ${{github.workspace}}/tag_version/build - # Disable incompatible tests: - # - GTEST_FILTER used to skip only single test cases run: | $env:UMF_LOG="level:warning;flush:debug;output:stderr;pid:no" - $env:GTEST_FILTER="-*umfIpcTest.GetPoolByOpenedHandle*" cp ${{github.workspace}}/latest_version/build/bin/Debug/umf.dll ${{github.workspace}}/tag_version/build/bin/Debug/umf.dll ctest -C Debug --verbose @@ -345,29 +338,22 @@ jobs: working-directory: ${{github.workspace}}/tag_version/build run: > LD_LIBRARY_PATH=${{github.workspace}}/tag_version/build/lib/ - GTEST_FILTER="-*umfIpcTest.GetPoolByOpenedHandle*" ctest --output-on-failure - name: Run "tag" UMF tests with latest UMF libs (warnings enabled) working-directory: ${{github.workspace}}/tag_version/build - # Disable incompatible tests: - # - GTEST_FILTER used to skip only single test cases - # - ctest's exclude - disable test binary that rely on internal structures - # and once not implemented features may now be implemented. run: > UMF_LOG="level:warning;flush:debug;output:stderr;pid:no" LD_LIBRARY_PATH=${{github.workspace}}/latest_version/build/lib/ - GTEST_FILTER="-*umfIpcTest.GetPoolByOpenedHandle*" - ctest --verbose -E "not_impl|umf-mempolicy" + ctest --verbose # Browse all folders in the examples directory, build them using the # latest UMF version, and run them, excluding those in the exclude list. - # NOTE: exclude cuda examples as they require linking with static disjoint - # pool library + # NOTE: exclude either CUDA or Level Zero examples depending on the GPU - name: Build and run "tag" examples using the latest UMF libraries working-directory: ${{github.workspace}}/tag_version run: | - EXAMPLES_EXCLUDE_LIST="cmake|common|hmat|cuda${{matrix.provider == 'LEVEL_ZERO' && '' || '|level_zero' }}" + EXAMPLES_EXCLUDE_LIST="cmake|common|hmat|${{matrix.provider == 'LEVEL_ZERO' && 'cuda' || 'level_zero' }}" rm -rf build rm -rf include mkdir _examples From 6586a9408f4a0dfceb59213d794ed1467ee01b5c Mon Sep 17 00:00:00 2001 From: Rafal Rudnicki Date: Thu, 3 Apr 2025 15:05:41 +0000 Subject: [PATCH 3/3] remove umfMemoryTrackerGetAllocInfo from def/map files --- src/libumf.def | 1 - src/libumf.map | 1 - 2 files changed, 2 deletions(-) diff --git a/src/libumf.def b/src/libumf.def index 38cad6069f..fbf2d5a75f 100644 --- a/src/libumf.def +++ b/src/libumf.def @@ -60,7 +60,6 @@ EXPORTS umfMemoryProviderPurgeForce umfMemoryProviderPurgeLazy umfMemoryProviderPutIPCHandle - umfMemoryTrackerGetAllocInfo umfMempolicyCreate umfMempolicyDestroy umfMempolicySetCustomSplitPartitions diff --git a/src/libumf.map b/src/libumf.map index ae5638faf3..a9a94b3a30 100644 --- a/src/libumf.map +++ b/src/libumf.map @@ -54,7 +54,6 @@ UMF_0.10 { umfMemoryProviderPurgeForce; umfMemoryProviderPurgeLazy; umfMemoryProviderPutIPCHandle; - umfMemoryTrackerGetAllocInfo; umfMempolicyCreate; umfMempolicyDestroy; umfMempolicySetCustomSplitPartitions;