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

Rework our tuple implementation to work with older MSVC #530

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

miscco
Copy link
Collaborator

@miscco miscco commented Oct 10, 2023

We historically had a lot of issues with our tuple implementation and older MSVC compilers, as it really does not play well with their limitations. This has let to a plethora of bug reports and is generally just really annoying.

To add insult to injury, it is one of the blockers for replacing thrust::tuple with cuda::std::tuple as the main issue MSVC has (constructing a tuple from less arguments than it has rank) is extensively used within cub and thrust

This PR does two things. It considerably simplifies our implementation, which helps MSVC a lot. It also adds a few selected workarounds to get MSVC to play nice

@miscco miscco requested review from a team as code owners October 10, 2023 08:36
@miscco miscco requested review from griwes, elstehle and wmaxey and removed request for a team October 10, 2023 08:36
@miscco miscco merged commit b198e88 into NVIDIA:main Oct 11, 2023
502 checks passed
@miscco miscco deleted the rework_tuple branch October 11, 2023 06:49
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.

2 participants