Skip to content

Commit

Permalink
Update JNI to new gather boundary check API [skip ci] (#6899)
Browse files Browse the repository at this point in the history
* Update JNI to new gather boundary check API

* changelog
  • Loading branch information
jlowe authored Dec 4, 2020
1 parent f5e76fb commit 1af9bc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@
- PR #6869 Avoid dependency resolution failure in latest version of pip by explicitly specifying versions for dask and distributed
- PR #6806 Force install of local conda artifacts
- PR #6887 Fix typo and `0-d` numpy array handling in binary operation
- PR #6899 Update JNI to new gather boundary check API


# cuDF 0.16.0 (21 Oct 2020)

Expand Down
2 changes: 1 addition & 1 deletion java/src/main/native/src/map_lookup.cu
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ std::unique_ptr<column> map_lookup(column_view const &map_column, string_scalar
auto table_for_gather = table_view{std::vector<cudf::column_view>{values_column}};

auto gathered_table = cudf::detail::gather(
table_for_gather, gather_map->view(), detail::out_of_bounds_policy::IGNORE,
table_for_gather, gather_map->view(), out_of_bounds_policy::NULLIFY,
detail::negative_index_policy::NOT_ALLOWED, stream, mr);

return std::make_unique<cudf::column>(std::move(gathered_table->get_column(0)));
Expand Down

0 comments on commit 1af9bc0

Please sign in to comment.