cuda: Update tests to work with both the Legacy API and Perfworks Metrics API workflows#521
Open
Treece-Burgess wants to merge 2 commits intoicl-utk-edu:masterfrom
Open
Conversation
There was a problem hiding this comment.
Building PAPI with the CUDA component fails because it cannot find the header, "cuda_tests_helper.h". Tested on Voltar with cuda/13.0 and cuda/12.8. PAPI_CUDA_ROOT environment variable was set.
622515d to
516faf1
Compare
…rics API workflows
483197d to
84f74cc
Compare
…h that we have backwards compatibility past Cuda Toolkit 12.3.2
tokey-tahmid
approved these changes
Feb 11, 2026
tokey-tahmid
left a comment
There was a problem hiding this comment.
Tested the PR on P100, V100, A100, and H100 architectures with CUDA toolkit versions from 11.5 to 13.0.
- PAPI builds successfully
- PAPI Utilities functional
- Component tests work as expected
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pull Request Description
This PR updates the
cudacomponent tests to work with either the Legacy API or the Perfworks Metrics API workflows.Important Notes for this PR:
--help,--device, and--cuda-native-event-name.concurrent_profilingandconcurrent_profiling_noCuCtxhave been updated to only work with CC's >= 7.0 and use the hard coded metrics in the file. This was done to be a near 1 to 1 match with theconcurrent_profilingtest inCUPTI/samples.Testing
Testing was done on Voltar at Oregon:
I tried various test cases, passing the command line arguments, and running with no arguments. In these cases the tests did successfully pass.
Author Checklist
Why this PR exists. Reference all relevant information, including background, issues, test failures, etc
Commits are self contained and only do one thing
Commits have a header of the form:
module: short descriptionCommits have a body (whenever relevant) containing a detailed description of the addressed problem and its solution
The PR needs to pass all the tests