-
Notifications
You must be signed in to change notification settings - Fork 445
Add support for ROCm 6.3 #28220
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
Merged
Add support for ROCm 6.3 #28220
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
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,5 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # asserts in a GPU kernel may segfault on exit | ||
| grep -v 'Segmentation fault' $2 >$2.tmp | ||
| mv $2.tmp $2 |
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,5 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # asserts in a GPU kernel may segfault on exit | ||
| grep -v 'Segmentation fault' $2 >$2.tmp | ||
| mv $2.tmp $2 |
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,5 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # asserts in a GPU kernel may segfault on exit | ||
| grep -v 'Segmentation fault' $2 >$2.tmp | ||
| mv $2.tmp $2 |
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,5 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # asserts in a GPU kernel may segfault on exit | ||
| grep -v 'Segmentation fault' $2 >$2.tmp | ||
| mv $2.tmp $2 |
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,5 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # asserts in a GPU kernel may segfault on exit | ||
| grep -v 'Segmentation fault' $2 >$2.tmp | ||
| mv $2.tmp $2 |
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,21 @@ | ||
| #!/usr/bin/env bash | ||
| # | ||
| # GPU native testing on a Cray EX (using none for CHPL_COMM) | ||
|
|
||
| UTIL_CRON_DIR=$(cd $(dirname ${BASH_SOURCE[0]}) ; pwd) | ||
| source $UTIL_CRON_DIR/common-native-gpu.bash | ||
| source $UTIL_CRON_DIR/common-hpe-cray-ex.bash | ||
|
|
||
| module load rocm/6.3.0 # pin to rocm 6.3.0 | ||
|
|
||
| export CHPL_COMM=none | ||
| export CHPL_LLVM=bundled | ||
| unset CHPL_LLVM_CONFIG # we need this to avoid warnings | ||
| export CHPL_LAUNCHER_PARTITION=bardpeak # bardpeak is the default queue | ||
| export CHPL_GPU=amd # also detected by default | ||
| export CHPL_GPU_ARCH=gfx90a | ||
|
|
||
| module list | ||
|
|
||
| export CHPL_NIGHTLY_TEST_CONFIG_NAME="gpu-ex-rocm-63" | ||
| $UTIL_CRON_DIR/nightly -cron ${nightly_args} |
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,21 @@ | ||
| #!/usr/bin/env bash | ||
| # | ||
| # GPU native testing on a Cray EX | ||
|
|
||
| UTIL_CRON_DIR=$(cd $(dirname ${BASH_SOURCE[0]}) ; pwd) | ||
| source $UTIL_CRON_DIR/common-native-gpu.bash | ||
| source $UTIL_CRON_DIR/common-hpe-cray-ex.bash | ||
|
|
||
| module load rocm/6.3 # pin to rocm 6.3 | ||
|
|
||
| export CHPL_COMM=ofi | ||
| export CHPL_LLVM=bundled | ||
| unset CHPL_LLVM_CONFIG # we need this to avoid warnings | ||
| export CHPL_LAUNCHER_PARTITION=bardpeak # bardpeak is the default queue | ||
| export CHPL_GPU=amd # also detected by default | ||
| export CHPL_GPU_ARCH=gfx90a | ||
|
|
||
| module list | ||
|
|
||
| export CHPL_NIGHTLY_TEST_CONFIG_NAME="gpu-ex-rocm-63.ofi" | ||
| $UTIL_CRON_DIR/nightly -cron ${nightly_args} |
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
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.
Semi serious question: Should we drop upper bounds here and let people try whatever version they might want to? Looking at the diff here, the only real "fix" here is this bump it looks like. Are we unnecessarily creating work for us to bump this up for each ROCm version?
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 would not be that opposed to removing the upper bound. I think it is a nicer user experience that users can only use Chapel with known-to-work versions, rather than getting build/runtime errors. However, its a maintenance burden and can also frustrate users.
Maybe a good compromise is to turn it into a warning?
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've changed the error into a warning, let me know what you think