Skip to content
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

Disable NVBench CUPTI support by default. #504

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Dec 12, 2023

Description

This PR disables CUPTI support in NVBench by default.

In essentially all of RAPIDS, we have to set NVBench_ENABLE_CUPTI OFF. By default, this is enabled, but it leads to several problems. First, when CUPTI support is enabled, the benchmark executables require the same CUDA major.minor version at runtime, meaning that (for instance) we can't build with CUDA 11.8 and expect that the benchmarks can be run with CUDA 11.5. Generally RAPIDS wants to produce builds that follow rules for CUDA minor version compatibility within a CUDA major version. Secondly, developers (especially new developers building from source) frequently run into issues where CUPTI is not available. We don't make cuda-cupti-dev a conda dependency in cudf, specifically because we disable CUPTI support most of the time. However, users building from source or using their own build invocations won't have CUPTI disabled, and run into problems compiling because of this missing dependency.

Examples:

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.
  • The cmake-format.json is up to date with these changes.
  • I have added new files under rapids-cmake/
    • I have added include guards (include_guard(GLOBAL))
    • I have added the associated docs/ rst file and update the api.rst

@bdice bdice requested a review from a team as a code owner December 12, 2023 19:56
@bdice bdice self-assigned this Dec 12, 2023
@bdice bdice added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Dec 12, 2023
Copy link
Contributor

@robertmaynard robertmaynard left a comment

Choose a reason for hiding this comment

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

Please add a note to the documentation for this function to say by default the cupti support for nvbench will be disabled

@bdice
Copy link
Contributor Author

bdice commented Dec 12, 2023

/merge

@rapids-bot rapids-bot bot merged commit c99b5c9 into rapidsai:branch-24.02 Dec 12, 2023
17 checks passed
rapids-bot bot pushed a commit to rapidsai/cudf that referenced this pull request Jan 22, 2024
The `-DNVBench_ENABLE_CUPTI=OFF` flag is no longer needed because of rapidsai/rapids-cmake#504. NVBench CUPTI support is now disabled by default.

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Ray Douglass (https://github.com/raydouglass)

URL: #14820
rapids-bot bot pushed a commit to rapidsai/cuspatial that referenced this pull request Feb 26, 2024
The `-DNVBench_ENABLE_CUPTI=OFF` flag is no longer needed because of rapidsai/rapids-cmake#504. NVBench CUPTI support is now disabled by default.

Authors:
  - Bradley Dice (https://github.com/bdice)
  - Paul Taylor (https://github.com/trxcllnt)

Approvers:
  - Ray Douglass (https://github.com/raydouglass)
  - Mark Harris (https://github.com/harrism)

URL: #1325
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants