-
Notifications
You must be signed in to change notification settings - Fork 35
Add bind modes tests and run on multi-numa machine #415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
bratpiorka
merged 6 commits into
oneapi-src:main
from
lukaszstolarczuk:dd_bind_modes_tests
Apr 25, 2024
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
494d30c
Add OS provider tests for different bind modes
220c009
Update multi numa nodes os provider tests
lukaszstolarczuk daf286e
[CI] Add multi-numa workflow
lukaszstolarczuk 7ce3077
Add more logs in OS provider
lukaszstolarczuk aabda58
[CI] Print numactl topology in get_sys_info.sh script
lukaszstolarczuk 9c4ddf7
[CI] Use hwloc from apt in QEMU build
lukaszstolarczuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Runs tests on multi-numa machine | ||
name: MultiNuma | ||
|
||
on: [workflow_call] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
multi_numa: | ||
name: ${{matrix.os}} | ||
# run only on upstream; forks will not have the HW | ||
if: github.repository == 'oneapi-src/unified-memory-framework' | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04] | ||
runs-on: ["DSS-MULTI-NUMA", "DSS-${{matrix.os}}"] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
|
||
- name: Get information about platform | ||
run: .github/scripts/get_system_info.sh | ||
|
||
- name: Configure build | ||
run: > | ||
cmake | ||
-B ${{github.workspace}}/build | ||
-DCMAKE_BUILD_TYPE=Debug | ||
-DCMAKE_C_COMPILER=gcc | ||
-DCMAKE_CXX_COMPILER=g++ | ||
-DUMF_BUILD_SHARED_LIBRARY=OFF | ||
-DUMF_BUILD_BENCHMARKS=OFF | ||
-DUMF_BUILD_TESTS=ON | ||
-DUMF_DEVELOPER_MODE=ON | ||
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON | ||
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON | ||
-DUMF_BUILD_LIBUMF_POOL_SCALABLE=ON | ||
-DUMF_ENABLE_POOL_TRACKING=ON | ||
|
||
- name: Build UMF | ||
run: cmake --build ${{github.workspace}}/build -j $(nproc) | ||
|
||
- name: Run tests | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest --output-on-failure --test-dir test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,5 +123,4 @@ jobs: | |
fi | ||
|
||
scp -P 2222 ${{github.workspace}}/scripts/qemu/run-build.sh [email protected]:/home/cxltest | ||
scp -P 2222 ${{github.workspace}}/.github/scripts/install_hwloc.sh [email protected]:/home/cxltest | ||
ssh [email protected] -p 2222 -t "bash /home/cxltest/run-build.sh https://github.com/$CI_REPO ${{env.CI_BRANCH}}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.