-
Notifications
You must be signed in to change notification settings - Fork 100
Add ARM github action, ROCm 7, CUDA 13 gitlab job and corresponding update #1954
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
Open
yhmtsai
wants to merge
15
commits into
develop
Choose a base branch
from
arm_action
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
50aa01b
add arm github action
yhmtsai fa76582
add flag
yhmtsai aa30422
add
yhmtsai cf9d597
try only -ffp-contract=off
yhmtsai 5e75b32
reduce the #thread to check whether it is killed by that
yhmtsai c7d3a54
add rocm 7.1.0 job
yhmtsai 85a24c8
add warpSize=64 as workaround in ROCm >= 7
yhmtsai 4b09d74
only define warp size in gko config not via compiler because amd also…
yhmtsai 8ace3c5
fix kernel launch, leftover error, no compile-time warpSize from ROCm 7
yhmtsai 32aa98a
ensure we use right machine for rocm 7
yhmtsai ca427a5
add cuda 13.0.2 job and get thrust
yhmtsai b2f7af0
only locate Thrust in cuda 13
yhmtsai 9c49ab0
fix path
yhmtsai b93472c
fix path
yhmtsai 9e70c02
clean the temporary check and uniform setup
yhmtsai 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| name: ARM-build | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - 'main' | ||
| - 'master' | ||
| - 'develop' | ||
| - 'release/**' | ||
| tags: | ||
| - '**' | ||
| pull_request: | ||
| types: [opened,synchronize] | ||
| paths-ignore: | ||
| - 'doc/**' | ||
| workflow_dispatch: | ||
| inputs: | ||
| debug_enabled: | ||
| description: 'Run the build with tmate debugging enabled by `debug_enabled` keyword (https://github.com/marketplace/actions/debugging-with-tmate)' | ||
| required: false | ||
| default: false | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ (github.head_ref && github.ref) || github.run_id }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| arm-omp: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| config: | ||
| - {shared: "ON", build_type: "Debug", name: "arm/omp/debug/shared", mixed: "OFF", half: "ON", bfloat16: "OFF"} | ||
| - {shared: "OFF", build_type: "Release", name: "arm/omp/release/static", mixed: "ON", half: "ON", bfloat16: "OFF"} | ||
| - {shared: "ON", build_type: "Release", name: "arm/omp/release/shared", mixed: "ON", half: "OFF", bfloat16: "ON"} | ||
| - {shared: "ON", build_type: "Release", name: "arm/omp/release/shared-16bit", mixed: "ON", half: "ON", bfloat16: "ON"} | ||
| name: ${{ matrix.config.name }} | ||
| runs-on: [ubuntu-24.04-arm] | ||
|
|
||
| steps: | ||
| - name: Checkout the latest code (shallow clone) | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: info | ||
| run: | | ||
| g++ -v | ||
| cmake --version | ||
|
|
||
| - name: Debug over SSH (tmate) | ||
| uses: mxschmitt/[email protected] | ||
| if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} | ||
|
|
||
| - name: configure | ||
| run: | | ||
| mkdir build | ||
| mkdir install | ||
| export INSTALL_PREFIX=`pwd`/install | ||
| cd build | ||
| cmake .. -DCMAKE_CXX_FLAGS="-Wpedantic -ffp-contract=off" -DBUILD_SHARED_LIBS=${{ matrix.config.shared }} -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DGINKGO_MIXED_PRECISION=${{ matrix.config.mixed }} -DGINKGO_ENABLE_HALF=${{ matrix.config.half }} -DGINKGO_ENABLE_BFLOAT16=${{ matrix.config.bfloat16 }} | ||
| make -j4 | ||
| ctest -j4 --output-on-failure | ||
|
|
||
| - name: install | ||
| run: | | ||
| cd build | ||
| make install | ||
| make test_install |
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
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we also add this to
ginkgo_cuda?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we do not need it because they are compiled by NVCC.
I still apply it to get consistent setup