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

Implement math functions for thrust::complex #1178

Merged
merged 2 commits into from
Dec 7, 2023

Conversation

miscco
Copy link
Collaborator

@miscco miscco commented Dec 6, 2023

We are having issues that the cuda::std math functions that take a cuda::std::complex return a cuda::std::complex. This can lead to issues as we require a conversion sequence from cuda::std::complex to thrust::complex which e.g is broken by an constructor being explicit.

Addresses nvbug4397241

We are having issues that the `cuda::std` math functions that take a `cuda::std::complex` return a `cuda::std::complex`. This can lead to issues as we require a conversion sequence from `cuda::std::complex` to `thrust::complex` which e.g is broken by an constructor being explicit.

Addresses nvbug4397241
@miscco miscco requested review from a team as code owners December 6, 2023 10:11
@miscco miscco added nvbug Has an associated internal NVIDIA NVBug. thrust For all items related to Thrust. backport branch/2.3.x For backporting to the 2.3.x release branch bug: functional labels Dec 6, 2023
@miscco miscco merged commit a60a0b9 into NVIDIA:main Dec 7, 2023
516 checks passed
@miscco miscco deleted the fix_thrust_tuple_more branch December 7, 2023 07:16
Copy link
Contributor

github-actions bot commented Dec 7, 2023

GitHub Actions is not permitted to create or approve pull requests.

miscco added a commit to miscco/cccl that referenced this pull request Dec 7, 2023
* Implement math functions for `thrust::complex`

We are having issues that the `cuda::std` math functions that take a `cuda::std::complex` return a `cuda::std::complex`. This can lead to issues as we require a conversion sequence from `cuda::std::complex` to `thrust::complex` which e.g is broken by an constructor being explicit.

Addresses nvbug4397241
jrhemstad pushed a commit that referenced this pull request Dec 8, 2023
* Implement math functions for `thrust::complex`

We are having issues that the `cuda::std` math functions that take a `cuda::std::complex` return a `cuda::std::complex`. This can lead to issues as we require a conversion sequence from `cuda::std::complex` to `thrust::complex` which e.g is broken by an constructor being explicit.

Addresses nvbug4397241
@miscco miscco added backport done This PR has been backported to the relevant branch and removed backport branch/2.3.x For backporting to the 2.3.x release branch labels Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport done This PR has been backported to the relevant branch bug: functional nvbug Has an associated internal NVIDIA NVBug. thrust For all items related to Thrust.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants