NVIDIA / NVIDIA/cuCollections

[FEA] Add an insert function that takes separate key/value iterators.

Open
#84 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P3: Backlog type: feature request
Dominant language
Cuda
Stars
667
Forks
120
Avg merge
7d 5h
Merged PRs (30d)
4

Description

https://github.com/NVIDIA/cuCollections/blob/8fce363b40254f4170d97eaedcb12fc8e84e1b74/include/cuco/static_map.cuh#L200

currently takes an iterator of zipped (key, value) pairs. This requires additional work at the caller side.

something like

void insert(KeyIt key_first, KeyIt key_last, ValueIt value_first, Hash hash = Hash{}, KeyEqual key_equal = KeyEqual{});

will be more convenient.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with include/cuco/static_map.cuh around line 200 and inspect the existing insert overload that accepts zipped key/value pairs. Add the requested separate key and value iterator entry point while preserving the current API; done means callers can provide independent iterator ranges for keys and values.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, hpc
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.