Skip to content

Use complex number in cupy.RawKernel #2111

@we-taper

Description

@we-taper

Hi!

I wonder what is the native/suggested way to use complex numbers in Cupy.RawKernel?

I was using #include<cuComplex.h> until I got an error on my newly installed cupy on another computer. I scrambled through your code and it seems to me that the preferred way is to use #include<cupy/complex/complex.h>. Is this the preferred library to use for cupy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions