rapidsai/cudf

[FEA] Replace `std::vector` by `host_span` in APIs parameter

Open

#11,116 opened on Jun 15, 2022

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C++ (735 forks)batch import
0 - Backlogfeature requestgood first issuelibcudf

Repository metrics

Stars
 (6,000 stars)
PR merge metrics
 (Avg merge 17d 21h) (230 merged PRs in 30d)

Description

cudf currently has many APIs that take in std::vector as one of its input parameters. For example: https://github.com/rapidsai/cudf/blob/c01a2a41b7d57a1360324270101d9304fbc9515f/cpp/include/cudf/table/table_view.hpp#L235

We should replace the std::vector parameter by host_span wherever possible.

Contributor guide