Replies: 1 comment 7 replies
-
Exactly. We expose cuCollections/include/cuco/static_multiset.cuh Lines 746 to 757 in eb9319b And we definitely should expose this feature to multimap as well. Let me open a PR for this. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For database workloads, when probing, it is often necessary to carry along with the probe, for example, the rowids of the tuples that pass the probe, so that the attributes for tuples that are emitted by the join can then be later gathered. I'm trying to do something like that here:
The problem, of course, is that dereferencing
probe_iterator_5
returns a thrust tuple, whereas I really only want to probe the hash map with the first element of the tuple. Also, of course, atransform_iterator
does not help here, because then the second element of the tuple is not exposed to the write to theoutput_probe
iterator. Perhaps there is something I can do with rebinding the equality operator for the map? Much appreciation for your help.EDIT: It looks like I can use
for_each
to accomplish my task after looking closer at the docs...Beta Was this translation helpful? Give feedback.
All reactions