[CUCO][FEA]: Migrate host and device `insert_or_assign` APIs for fixed_capacity_map
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 486
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 295
Description
### Is this a duplicate?
- [x] I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cccl/issues) for this request and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)
### Area
CUDA Experimental (cudax)
### Is your feature request related to a problem? Please describe.
This is part of #7463.
I'd like to migrate the host and device `insert_or_assign` APIs from `cuco::static_map` to `cudax::cuco::fixed_capacity_map`.
### Describe the solution you'd like
Migrate the APIs and add corresponding tests.
Contributor guide
Research direction
Start by comparing the existing host and device insert_or_assign APIs in cuco::static_map with cudax::cuco::fixed_capacity_map, using the migration tracked in issue #7463 as context. Migrate both APIs and add corresponding tests; done means the APIs are available on fixed_capacity_map and the tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100