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

Rename concatenate_tests.cu to .cpp #8555

Merged
merged 3 commits into from
Jun 23, 2021

Conversation

davidwendt
Copy link
Contributor

Found this file can be changed to .cpp by modifying the TypedColumnTest to build its test data in the CPU and then cudaMemcpy it to the GPU. The remain ~1000 lines did not require any updates. Only a few lists_column_wrapper ctors needed to be corrected as similar to PR #8527.

@davidwendt davidwendt added 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jun 18, 2021
@davidwendt davidwendt self-assigned this Jun 18, 2021
@davidwendt davidwendt requested a review from a team as a code owner June 18, 2021 16:56
@github-actions github-actions bot added the CMake CMake build issue label Jun 18, 2021
@codecov
Copy link

codecov bot commented Jun 18, 2021

Codecov Report

❗ No coverage uploaded for pull request base (branch-21.08@aa67b13). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.08    #8555   +/-   ##
===============================================
  Coverage                ?   83.00%           
===============================================
  Files                   ?      109           
  Lines                   ?    18215           
  Branches                ?        0           
===============================================
  Hits                    ?    15119           
  Misses                  ?     3096           
  Partials                ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aa67b13...040e24e. Read the comment docs.

cpp/tests/copying/concatenate_tests.cpp Outdated Show resolved Hide resolved
cpp/tests/copying/concatenate_tests.cpp Outdated Show resolved Hide resolved
cpp/tests/copying/concatenate_tests.cpp Show resolved Hide resolved
@davidwendt davidwendt requested a review from harrism June 22, 2021 13:46
typed_data, h_data.data(), data_size(), cudaMemcpyHostToDevice, stream.value()));
CUDA_TRY(cudaMemcpyAsync(
typed_mask, h_mask.data(), mask_size(), cudaMemcpyHostToDevice, stream.value()));
stream.synchronize();
Copy link
Member

Choose a reason for hiding this comment

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

You could have stuck with the default stream and just synced it, but this is more general. 👍

@harrism
Copy link
Member

harrism commented Jun 23, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 20c807d into rapidsai:branch-21.08 Jun 23, 2021
@davidwendt davidwendt deleted the concatenate-tests-cu2cpp branch June 23, 2021 10:24
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.

4 participants