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

Migrate tests to excercise the new map #393

Merged
merged 8 commits into from
Nov 20, 2023

Conversation

PointKernel
Copy link
Member

@PointKernel PointKernel commented Nov 15, 2023

This PR migrates static map tests to test the new static map:

  • Large type tests are not migrated since the new map doesn't support keys larger than 8 bytes
  • Shared memory tests require related functions to be added into ref code thus would be in a separate PR

@PointKernel PointKernel added topic: static_map Issue related to the static_map type: improvement Improvement / enhancement to an existing function labels Nov 15, 2023
@PointKernel PointKernel marked this pull request as ready for review November 17, 2023 01:23
}));
REQUIRE(cuco::test::all_of(pairs_begin,
pairs_begin + num_keys,
[find_ref] __device__(cuco::pair<Key, Value> const& pair) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need to specify the return type here via cuda::proclaim_return_type?

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 point. Let me do this to make #343 easier.

@PointKernel PointKernel merged commit c7d52a2 into NVIDIA:dev Nov 20, 2023
14 checks passed
@PointKernel PointKernel deleted the migrate-map-tests branch November 20, 2023 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: static_map Issue related to the static_map type: improvement Improvement / enhancement to an existing function
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants