pyccel / pyccel-cuda

Cuda extension to pyccel
MIT License
1 stars 0 forks source link

adding Complex Support #15

Open bauom opened 1 year ago

bauom commented 1 year ago

Describe the feature

the pyccel-cuda library does not support complex numbers. as the C complex type are not supported.

Example:

import cupy as cp
x = cp.array([1+2j, 3-4j, 5+6j], dtype=complex64)
EmilyBourne commented 1 year ago

@bauom please could you improve this issue. Your "describe the feature" section describes the problem but does not mention what you think should be done about it . I think it could also be useful to link to the discussion here : https://github.com/pyccel/pyccel-cuda/pull/12#discussion_r1156132670