-
Notifications
You must be signed in to change notification settings - Fork 55
Scripts for a compiler matrix #656
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
artv3
wants to merge
28
commits into
develop
Choose a base branch
from
artv3/compiler-sweep
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 12 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
daee2df
add scripts to compare compiler performance per kernel
artv3 6927458
clean up pass
artv3 bc7ffe2
clean up pass
artv3 68a99af
Merge branch 'develop' into artv3/compiler-sweep
artv3 0e8f160
clean up pass
artv3 86f96c0
Merge branch 'artv3/compiler-sweep' of github.com:llnl/RAJAPerf into …
artv3 cf5ab96
clean up pass + docs
artv3 e03a32e
add reproducer info
artv3 be34a81
add compiler examples
artv3 929f9c2
default folder name is compiler matrix
artv3 f65b726
add @khuck-AMD html contribution
artv3 43bd71f
clean up pass
artv3 161f829
Apply suggestion from @artv3
artv3 fcb4570
clean up pass
artv3 a1fe0ca
Merge branch 'artv3/compiler-sweep' of github.com:llnl/RAJAPerf into …
artv3 98c6193
Apply suggestion from @artv3
artv3 b025988
add example figure
artv3 ac3b103
fix python script
artv3 426b9c0
clean up pass
artv3 2c0f24c
Set colors, markers, and line styles
MrBurmark cfec41d
Add an html landing page for plotly and png
MrBurmark def057a
Add option to output matplotlib to pngs
MrBurmark 353fed9
make html for pdfs as well
MrBurmark 83794e9
Rename png arg
MrBurmark ca6b358
Merge branch 'develop' into artv3/compiler-sweep
artv3 b702ad7
revert changes regarding early version of CUDA and C++20
artv3 ed741c0
Merge branch 'develop' into artv3/compiler-sweep
artv3 ac41859
Merge branch 'develop' into artv3/compiler-sweep
artv3 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,5 @@ | ||
| # build_script mpi_version rocm_version gpu_arch | ||
| toss4_cray-mpich_amdclang.sh 9.0.1 6.3.1 gfx942 | ||
| toss4_cray-mpich_amdclang.sh 9.0.1 6.4.3 gfx942 | ||
| toss4_cray-mpich_amdclang.sh 9.0.1 7.2.1 gfx942 | ||
|
|
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,22 @@ | ||
| Compiler matrix input: | ||
| data/compiler_sweeps/tier1_base_raja_hip_compilers.txt | ||
|
|
||
| Kernel lists: | ||
| data/compiler_sweeps/tier1_main_kernels.txt | ||
| data/compiler_sweeps/tier1_diff_range_kernels.txt | ||
|
|
||
| Run from the repository root. | ||
|
|
||
| Main Tier 1 kernels: | ||
| scripts/lc-builds/run_compiler_matrix.sh from-list data/compiler_sweeps/tier1_base_raja_hip_compilers.txt --run-cmd direct --throughput --base-mem 100000 --factors "1 4 16 32 64 128 256 512 1024 1500 2048 3000 4000" --kernel-file data/compiler_sweeps/tier1_main_kernels.txt -- --variants Base_HIP RAJA_HIP --npasses 3 --npasses-combiners Average Minimum Maximum --outdir compiler_sweep_runs/tier1_base_raja_hip | ||
|
|
||
| Tier 1 special-range kernels: | ||
| scripts/lc-builds/run_compiler_matrix.sh from-list data/compiler_sweeps/tier1_base_raja_hip_compilers.txt --run-cmd direct --throughput --base-mem 100000 --factors "32 64 128 256 512 1024 1500 2048 3000 4000 5000 6000" --kernel-file data/compiler_sweeps/tier1_diff_range_kernels.txt -- --variants Base_HIP RAJA_HIP --npasses 3 --npasses-combiners Average Minimum Maximum --outdir compiler_sweep_runs/tier1_base_raja_hip | ||
|
|
||
| Generate plots from the produced kernel-run-data CSV files: | ||
| python3 scripts/build_compiler_matrix.py --root-dir . --output-dir compiler-matrix-output/tier1_base_raja_hip --no-fixed-plots | ||
|
|
||
| Notes: | ||
| - The Tier 1 kernel split and factor ranges match RAJAPerf-Benchmark/2026-FCR/scripts/run_tier_mi300a.sh. | ||
| - The runs above keep only Base_HIP and RAJA_HIP. | ||
| - Output CSV files land under each build directory in compiler_sweep_runs/tier1_base_raja_hip/. |
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,3 @@ | ||
| # Tier 1 kernels with special factor ranges from RAJAPerf-Benchmark/2026-FCR/scripts/run_tier_mi300a.sh | ||
| FEMSWEEP | ||
| MASS3DEA |
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,9 @@ | ||
| # Tier 1 kernels from RAJAPerf-Benchmark/2026-FCR/scripts/run_tier_mi300a.sh | ||
| DIFFUSION3DPA | ||
| EDGE3D | ||
| ENERGY | ||
| INTSC_HEXRECT | ||
| MASS3DPA_ATOMIC | ||
| MASSVEC3DPA | ||
| NODAL_ACCUMULATION_3D | ||
| VOL3D |
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.
Uh oh!
There was an error while loading. Please reload this page.