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

Fix cuDF benchmarks build with static Arrow lib and fix rapids-compose cuDF JNI build [skip-ci] #6732

Merged
merged 3 commits into from
Nov 11, 2020

Conversation

harrism
Copy link
Member

@harrism harrism commented Nov 11, 2020

The cmakelists for cuDF benchmarks (which are not built by default) failed to compile when
ARROW_STATIC_LIB was enabled. This fixes that failure.

Also adds a cmake variable passthrough to the cuDF JNI pom.xml to enable building
cuDF JNI bindings when the cuDF build directory is not the default of cudf/cpp/build,
as is common when using rapids-compose to build from source.

@harrism harrism added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue Java Affects Java cuDF API. labels Nov 11, 2020
@harrism harrism requested review from a team as code owners November 11, 2020 01:28
@harrism harrism self-assigned this Nov 11, 2020
Copy link
Collaborator

@kkraus14 kkraus14 left a comment

Choose a reason for hiding this comment

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

benchmarks cmake lgtm

@harrism harrism merged commit f6cf409 into rapidsai:branch-0.17 Nov 11, 2020
@harrism harrism deleted the fix-java-build-for-compose branch November 11, 2020 01:46
kkraus14 pushed a commit that referenced this pull request Nov 13, 2020
Converting libcudf to use `rmm::cuda_stream_view` will require a LOT of changes, so I'm splitting it into multiple PRs to ease reviewing. This is the first PR in the series. This series of PRs will

 - Replace usage of `cudaStream_t` with `rmm::cuda_stream_view`
 - Replace usage of `0` or `nullptr` as a stream identifier with `rmm::cuda_stream_default`
 - Ensure all APIs always order the stream parameter *before* the memory resource parameter. #5119

This first PR converts:
 - column.hpp (and source)
 - device_column_view.cuh
 - copying.hpp (and source) : moves functions that had streams in public APIs to `namespace detail` and adds streamless public versions.
 - null_mask.hpp (and source) : moves functions that had streams in public APIs to `namespace detail` and adds streamless public versions.
 - AST (transform)
 - Usages of the above APIs in other source files
 - Some benchmarks

Contributes to #6645 and #5119

~Depends on #6732.~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake CMake build issue Java Affects Java cuDF API. libcudf Affects libcudf (C++/CUDA) code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants