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

[FEA]: Missing overload definition of thrust::complex operator!= #563

Closed
1 task done
srinivasyadav18 opened this issue Oct 14, 2023 · 1 comment · Fixed by #564
Closed
1 task done

[FEA]: Missing overload definition of thrust::complex operator!= #563

srinivasyadav18 opened this issue Oct 14, 2023 · 1 comment · Fixed by #564
Assignees
Labels
bug Something isn't working right. feature request New feature or request. good first issue Good for newcomers. help wanted Request for input or help from the community thrust For all items related to Thrust.

Comments

@srinivasyadav18
Copy link
Contributor

Is this a duplicate?

Area

Thrust

Is your feature request related to a problem? Please describe.

Missing overload definition of operator!= for thrust::complex here, as its declaration is present here.

Describe the solution you'd like

Add the definition as below :

template <typename T0, typename T1>
__host__ __device__ typename detail::disable_if<detail::is_same<T0, T1>::value, bool>::type
operator!=(const complex<T0> &x, const complex<T1> &y)
{
  return !(x == y);
}

Describe alternatives you've considered

No response

Additional context

No response

@srinivasyadav18 srinivasyadav18 added the feature request New feature or request. label Oct 14, 2023
@github-project-automation github-project-automation bot moved this to Todo in CCCL Oct 14, 2023
@github-actions github-actions bot added the needs triage Issues that require the team's attention label Oct 14, 2023
@github-actions
Copy link
Contributor

Hi @srinivasyadav18!

Thanks for submitting this issue - the CCCL team has been notified and we'll get back to you as soon as we can!
In the mean time, feel free to add any relevant information to this issue.

@miscco miscco added good first issue Good for newcomers. thrust For all items related to Thrust. bug Something isn't working right. help wanted Request for input or help from the community and removed needs triage Issues that require the team's attention labels Oct 14, 2023
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Oct 14, 2023
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right. feature request New feature or request. good first issue Good for newcomers. help wanted Request for input or help from the community thrust For all items related to Thrust.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants