Skip to content

Sync the headers in cupy/core/include/cupy/complex/ with upstream? #2629

@leofang

Description

@leofang

Recently the bundled Thrust complex headers have been modified on a per-PR basis for the following reasons:

  1. Performance impact: Refactor CUB to support an explicit axis argument; Fix alignments for Thrust's complex types #2562 (fixed alignment)
  2. Missing __host__ qualifiers: Fix bug in CUB + **Native support** of complex numbers in CUB  #2538
  3. Missing support: Allow to use real and imag on cuda kernels #2520

All of these changes are more or less in sync with the latest Thrust codes. I suggest that these headers can be brought up to date with the upstream. The incentive is that one might discover another one-liner change like in #2562 that boosts the performance considerably 🙂

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions