-
Notifications
You must be signed in to change notification settings - Fork 916
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
Handle sliced structs properly in pack/contiguous_split. #8739
Handle sliced structs properly in pack/contiguous_split. #8739
Conversation
…ing a null count based on the wrong range of validity bits.
…ce. Added some more tests.
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8739 +/- ##
===============================================
Coverage ? 10.53%
===============================================
Files ? 116
Lines ? 18916
Branches ? 0
===============================================
Hits ? 1993
Misses ? 16923
Partials ? 0 Continue to review full report at Codecov.
|
…egmented_count_set_bits() to take iterators for range indices.
* @param[in] bitmask The bitmask whose non-zero bits outside the range in the | ||
* boundary words will be counted. | ||
* @param[in] num_ranges The number of ranges | ||
* @param[in] first_bit_indices The indices (inclusive) of the first bit in each | ||
* range | ||
* @param[in] last_bit_indices The indices (exclusive) of the last bit in each | ||
* range | ||
* @param[in,out] null_counts The number of non-zero bits in each range to be | ||
* updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry that I'm a bit OCD about the style. This is just a suggestion (align multiple-line param doxygen with the parameter name), you can ignore it if you don't like 😃
* @param[in] bitmask The bitmask whose non-zero bits outside the range in the | |
* boundary words will be counted. | |
* @param[in] num_ranges The number of ranges | |
* @param[in] first_bit_indices The indices (inclusive) of the first bit in each | |
* range | |
* @param[in] last_bit_indices The indices (exclusive) of the last bit in each | |
* range | |
* @param[in,out] null_counts The number of non-zero bits in each range to be | |
* updated | |
* @param[in] bitmask The bitmask whose non-zero bits outside the range in the | |
* boundary words will be counted. | |
* @param[in] num_ranges The number of ranges | |
* @param[in] first_bit_indices The indices (inclusive) of the first bit in each | |
* range | |
* @param[in] last_bit_indices The indices (exclusive) of the last bit in each | |
* range | |
* @param[in,out] null_counts The number of non-zero bits in each range to be | |
* updated |
/** | ||
* @brief Functor that returns the number of set bits for a specified word | ||
* of a bitmask array. | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* |
* or exclusive. | ||
* @param[in] d_bit_indices Pointer to an array of bit indices | ||
*/ | ||
__host__ to_word_index(bool inclusive, size_type const* d_bit_indices) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if we ever need the __host__
qualifier here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CMake changes LGTM
Temporarily adding do-not-merge tag so @charlesbluca can run some additional tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still looks good :)
@gpucibot merge |
Pre-sliced struct columns (those with a positive offset) were not being handled correctly.
Dependent PR has been merged.