You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complex number support for numba-dpex works using current dpctl. Numba represents complex values as a 2-tuple of floats and we pass the arguments as flattened arguments to kernels. Thus, no change is needed on dpctl's side.
We will eventually need to support complexes as well.
This is not straightforward with
ctypes
: https://stackoverflow.com/questions/13373291/complex-number-in-ctypesSo down the road we might just introduce our own scalar type in
dpctl
.Originally posted by @oleksandr-pavlyk in #80 (comment)
The text was updated successfully, but these errors were encountered: