Skip to content

Comments

cuda: Allow for and restrict use of Cuda Toolkits to >= 11.4.#560

Open
Treece-Burgess wants to merge 1 commit intoicl-utk-edu:masterfrom
Treece-Burgess:02-11-2026-cuda-support-11-4
Open

cuda: Allow for and restrict use of Cuda Toolkits to >= 11.4.#560
Treece-Burgess wants to merge 1 commit intoicl-utk-edu:masterfrom
Treece-Burgess:02-11-2026-cuda-support-11-4

Conversation

@Treece-Burgess
Copy link
Contributor

Pull Request Description

In the master branch, the cuda component supports down to Cuda Toolkit 11.5; however, support can go down even further to Cuda Toolkit 11.3 when the MetricsEvaluator API was initially introduced.

This PR adds support for Cuda Toolkit 11.4 and also restricts users at runtime to need to use Cuda Toolkits >= 11.4. The restriction is added as Cuda Toolkit 11.3 suffers from the same issue as discussed on the following NVIDIA Developers Forum post. From my testing 11.4 does not suffer from this.

Testing

Setup

Testing was done on Athena at Oregon, with the following setup:

  • OS: RHEL 8.9
  • CPU: AMD EPYC 7662
  • GPUs: 4 * A100
  • Cuda Toolkits 11.3, 11.4, and 12.8.1

Results

  • PAPI compilation: ✅ (with Cuda Toolkits 11.3, 11.4, and 12.8.1)
  • PAPI utilities*: ✅
Using Cuda Toolkit 11.3, shows that the cuda component is disabled
Name:   cuda                    CUDA profiling via NVIDIA CuPTI interfaces
   \-> Disabled: The cuda component supports Cuda Toolkits >= 11.4.
  • Cuda component tests: ✅ (with Cuda Toolkits 11.4 and 12.8.1)

* 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

@Treece-Burgess Treece-Burgess added component-cuda PRs and Issues related to the cuda component status-ready-for-review PR is ready to be reviewed type-maintenance Update code to keep it compatible, secure, modern. labels Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component-cuda PRs and Issues related to the cuda component status-ready-for-review PR is ready to be reviewed type-maintenance Update code to keep it compatible, secure, modern.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant