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

Adds tests for large number of items for cub::DeviceSelect #1612

Merged
merged 7 commits into from
Apr 14, 2024

Conversation

elstehle
Copy link
Collaborator

Description

In PR #1379, we consolidated thrust::copy_if to use cub::DeviceSelect. Along with that change, we made thrust to dispatch using offset types using i64 if the given number of items was exceeding INT_MAX.

Testing for large number of items in thrust::copy_if has been limited to some sanity tests.

We want to have more elaborate test coverage by adding tests for large number of items to the CUB tests of cub::DeviceSelect, since we have better testing infrastructure in CUB.

This PR adds those tests.

Closes #1584

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@elstehle elstehle requested review from a team as code owners April 10, 2024 16:09
Copy link
Collaborator

@alliepiper alliepiper left a comment

Choose a reason for hiding this comment

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

A couple minor suggestions inline.

Merging main into this should fix the CI issues as well.

cub/test/catch2_test_device_select_if.cu Outdated Show resolved Hide resolved
cub/test/catch2_test_device_select_if.cu Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add tests for large number of items to DeviceSelect
3 participants