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

Optimized compilation of CUDFTESTUTIL's interface sources #18131

Open
wants to merge 4 commits into
base: branch-25.04
Choose a base branch
from

Conversation

lamarrr
Copy link
Contributor

@lamarrr lamarrr commented Feb 28, 2025

Description

cudftestutil's "inline" sources were being re-compiled for each test and benchmark.
This merge request fixes that by adding an object library and having tests and benchmarks link to that instead. The object library is private and not exported to consumers

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@lamarrr lamarrr added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 28, 2025
@lamarrr lamarrr requested a review from a team as a code owner February 28, 2025 03:55
@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Feb 28, 2025
@lamarrr lamarrr changed the title Removed Excessive Re-compilation of CUDFTESTUTIL Optimized compilation of CUDFTESTUTIL's inline sources Feb 28, 2025
@lamarrr lamarrr changed the title Optimized compilation of CUDFTESTUTIL's inline sources Optimized compilation of CUDFTESTUTIL's interface sources Feb 28, 2025
@vyasr
Copy link
Contributor

vyasr commented Feb 28, 2025

I thought for sure this is how we set it up the first time...

@lamarrr
Copy link
Contributor Author

lamarrr commented Feb 28, 2025

I thought for sure this is how we set it up the first time...

Same, I remember recommending that solution to users as well. I assumed I must have missed it when submitting the MR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake CMake build issue improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants