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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

鈾伙笍馃摑 Update mode example to use thrust::unique_count #1354

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

codereport
Copy link
Contributor

Description

When this example was created, thrust::unique_count did not exist. It was added in 2022 (2 years ago) in this PR: NVIDIA/thrust#1612. It shouldn't definitely be used now.

I noticed this while @brycelelbach and I were chatting about this algorithm while recording an episode of ADSP 馃槂

Copy link

copy-pr-bot bot commented Feb 8, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@miscco
Copy link
Collaborator

miscco commented Feb 8, 2024

/ok to test

Copy link
Collaborator

@elstehle elstehle left a comment

Choose a reason for hiding this comment

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

Thanks a lot for updating our examples! 馃檹

Could you please make sure to also include #include <thrust/unique.h> and remove #include <thrust/inner_product.h>.

@miscco miscco enabled auto-merge (squash) February 9, 2024 07:45
@codereport
Copy link
Contributor Author

codereport commented Feb 9, 2024

Thanks a lot for updating our examples! 馃檹

Could you please make sure to also include #include <thrust/unique.h> and remove #include <thrust/inner_product.h>.

Will do. Can you add me as the assignee so I get a notification? Only saw this because I randomly checked the status of the PR.

Update: Just saw that @miscco did. Thx 馃檹

@miscco
Copy link
Collaborator

miscco commented Feb 9, 2024

/ok to test

@miscco miscco merged commit 35ac854 into NVIDIA:main Feb 9, 2024
538 checks passed
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.

None yet

3 participants