Skip to content

add scripts to compare compiler performance for a given list of kernels#656

Open
artv3 wants to merge 1 commit intodevelopfrom
artv3/compiler-sweep
Open

add scripts to compare compiler performance for a given list of kernels#656
artv3 wants to merge 1 commit intodevelopfrom
artv3/compiler-sweep

Conversation

@artv3
Copy link
Copy Markdown
Member

@artv3 artv3 commented Mar 17, 2026

Summary

  • This PR is adds helper scripts to do cross compiler performance comparisons

Sample run:
./scripts/lc-builds/build_and_run.sh scripts/lc-builds/toss4_nvcc_gcc.sh nvidia_gcc.txt --run-cmd "srun -N1 " -j 100 --kernel-file kernels.txt -- --variants CUDA

Will take a list of compilers in nvidia_gcc.txt run them with the provided command and run the kernels list in `kernels.txt'. The python script will then crawl through the directory and make a plot.

@artv3 artv3 requested a review from a team March 17, 2026 04:58
@@ -0,0 +1,352 @@
#!/usr/bin/env bash
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this script should have a more descriptive name. Not sure what it could be, but worth thinking a bit about.

@artv3
Copy link
Copy Markdown
Member Author

artv3 commented Mar 31, 2026

Consider that we may want different MPI variants

@artv3
Copy link
Copy Markdown
Member Author

artv3 commented Mar 31, 2026

Consider throughput comparisons for different compilers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants