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

[BUG]: cuda::std::common_type broken #2464

Closed
1 task done
cliffburdick opened this issue Sep 25, 2024 · 1 comment · Fixed by #2465
Closed
1 task done

[BUG]: cuda::std::common_type broken #2464

cliffburdick opened this issue Sep 25, 2024 · 1 comment · Fixed by #2465
Labels
bug Something isn't working right.

Comments

@cliffburdick
Copy link

Is this a duplicate?

Type of Bug

Silent Failure

Component

Thrust

Describe the bug

cuda::std::common_type does not work properly with complex types in CUDA 12.6 due to an issue with nvcc. The issue is due to a pragma used in CCCL in version 2.5.0 and above, which allows CCCL 2.4.0 to work properly. However, 2.4.0 is not supported in CTK 12.6 since it ships with 2.5.0. This issue is to find a workaround until CTK is fixed that allows common_type to be used in CCCL.

How to Reproduce

Use cuda::std::common_type with a complex type in CTK 12.6.

Expected behavior

cuda::std::common_type shows no compiler errors when used correctly.

Reproduction link

No response

Operating System

No response

nvidia-smi output

No response

NVCC version

No response

@cliffburdick cliffburdick added the bug Something isn't working right. label Sep 25, 2024
@fbusato
Copy link
Contributor

fbusato commented Sep 25, 2024

should not be related but worth mentioning #2419 [BUG]: is_common_type trait is broken when mixing rvalue references

@miscco miscco linked a pull request Sep 26, 2024 that will close this issue
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.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants