Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spans and more include guidelines to libcudf developer guide [skipci] #8931

Merged
merged 2 commits into from
Aug 11, 2021

Conversation

harrism
Copy link
Member

@harrism harrism commented Aug 3, 2021

Adds a section on span types, and adds a few more guidelines on #includes.

@harrism harrism requested a review from a team as a code owner August 3, 2021 04:27
@harrism harrism requested review from trxcllnt and vuule August 3, 2021 04:27
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Aug 3, 2021
@harrism harrism added doc Documentation non-breaking Non-breaking change labels Aug 3, 2021
Comment on lines +271 to +272
If you are definining internal (detail) functions that operate on vectors, use spans for the input
vector parameters rather than a specific vector type, to make your functions more widely applicable.
Copy link
Contributor

@vuule vuule Aug 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we include the difference between span<T> const and span<T const> here?
Something like "For input span function parameters, use span<T const>, instead of span<T> const".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, will add that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

@harrism harrism changed the title Add spans and more include guidelines to libcudf developer guide Add spans and more include guidelines to libcudf developer guide [skipci] Aug 11, 2021
@harrism
Copy link
Member Author

harrism commented Aug 11, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 34523c7 into rapidsai:branch-21.10 Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Documentation libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants