Change segmented scan tests to use cuda::buffer
Open
Beginner friendly
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 486
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 295
Description
I'd recommend using `cuda::buffer` instead. `thrust::device_vector` is quite slow for compile time.
_Originally posted by @jrhemstad in https://github.com/NVIDIA/cccl/pull/10855#discussion_r3798818164_
Contributor guide
Research direction
Locate the segmented scan tests and identify their uses of thrust::device_vector; read the surrounding test setup before making the change. Replace the test buffer usage with cuda::buffer, then run the segmented scan test target and confirm the tests still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100