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

Split up experimental_row_operator_tests.cu to improve its compile time #13382

Merged
merged 8 commits into from
May 24, 2023

Conversation

davidwendt
Copy link
Contributor

@davidwendt davidwendt commented May 18, 2023

Description

Noticed the experimental_row_operator_tests.cu build time increased significantly in the last few weeks.
This PR splits the thrust calls into a separate .cu file. The remaining code is C++ but could not be converted to .cpp because the row_operators.cuh files contain device code that g++ cannot compile.

Checklist

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

@davidwendt davidwendt added 2 - In Progress Currently a work in progress libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels May 18, 2023
@davidwendt davidwendt self-assigned this May 18, 2023
@github-actions github-actions bot added the CMake CMake build issue label May 18, 2023
@davidwendt
Copy link
Contributor Author

davidwendt commented May 18, 2023

@davidwendt davidwendt added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currently a work in progress labels May 19, 2023
@davidwendt davidwendt marked this pull request as ready for review May 19, 2023 00:45
@davidwendt davidwendt requested a review from a team as a code owner May 19, 2023 00:45
@davidwendt davidwendt requested review from ttnghia and nvdbaranec May 19, 2023 00:45
#include <thrust/sort.h>
#include <thrust/transform.h>

template <typename PhysicalElementComparator>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This code was moved from experimental_row_operator_tests.cu

@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 43c04e2 into rapidsai:branch-23.06 May 24, 2023
@davidwendt davidwendt deleted the exp-row-cmp-test-split branch May 24, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team 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