Skip to content

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

Closed

Description

@cliffburdick

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

Activity

  1. fbusato commented on Sep 25, 2024

    @fbusato
    Contributor

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

  2. moved this from Todo to In Review in CCCLon Sep 30, 2024
  3. moved this from In Review to Done in CCCLon Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions