Skip to content

nvml: Update the search logic to honor PAPI_NVML_MAIN, README.md, and Rules.nvml#595

Open
Treece-Burgess wants to merge 1 commit into
icl-utk-edu:masterfrom
Treece-Burgess:04-22-2026-papi-nvml-main-env
Open

nvml: Update the search logic to honor PAPI_NVML_MAIN, README.md, and Rules.nvml#595
Treece-Burgess wants to merge 1 commit into
icl-utk-edu:masterfrom
Treece-Burgess:04-22-2026-papi-nvml-main-env

Conversation

@Treece-Burgess

Copy link
Copy Markdown
Contributor

Pull Request Description

This PR updates the nvml component to honor PAPI_NVML_MAIN as an environment variable rather than a user needing to set the variable in Rules.nvml. This makes the nvml component more in line with other components.

Along with this, two other changes occur:

  • The README.md was updated to reflect this aforementioned change.
  • Rules.nvml has PAPI_CUDA_MAIN, PAPI_CUDA_RUNTIME, and PAPI_NVML_MAIN removed along with text that should have been placed in the README.md. Note that, PAPI_CUDA_MAIN and PAPI_CUDA_RUNTIME do not have an equivalent environment variable added as did PAPI_NVML_MAIN. As these two environment variables are not used throughout the nvml component codebase.

Testing

Testing was done on Methane at ICL (1 * A100) with Cuda Toolkit 12.9.

  • PAPI build: ✅
  • PAPI utilities*: ✅
  • HelloWorld.cu: ✅

* -papi_component_avail, papi_native_avail, and papi_command_line

Author Checklist

  • Description
    Why this PR exists. Reference all relevant information, including background, issues, test failures, etc
  • Commits
    Commits are self contained and only do one thing
    Commits have a header of the form: module: short description
    Commits have a body (whenever relevant) containing a detailed description of the addressed problem and its solution
  • Tests
    The PR needs to pass all the tests

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.

1 participant