Skip to content

Key equality in ReduceByKey #1407

Closed Answered by kevkrist
kevkrist asked this question in CUB
Feb 20, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

It turns out I needed __device__ bool operator==(const CustomType& other) const {...} (I was missing the last const), which did the trick. Thank you! and sorry for wasting anyone's time.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kevkrist
Comment options

Answer selected by alliepiper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
CUB
Labels
None yet
2 participants