Some scientific domains make heavy use of complex numbers in simualtions.
Adding complex number support to FLAME GPU might be required to potentially increase adoption.
CUDA support for std::complex is partial / spotty, it might be better from CUDA 11.7 w/ --std=c++20 but we can't rely on it being available at this point.
Thrust ships thrust::complex, so adopting use of that might be the simplest option if this is required.
No reason we can't support it, just may need to tweak some of the templates to fully support it (I think we dropped bool support for a similar reason).
Some scientific domains make heavy use of complex numbers in simualtions.
Adding complex number support to FLAME GPU might be required to potentially increase adoption.
CUDA support for std::complex is partial / spotty, it might be better from CUDA 11.7 w/
--std=c++20
but we can't rely on it being available at this point.Thrust ships
thrust::complex
, so adopting use of that might be the simplest option if this is required.