diff options
| author | Slava Zakharin <szakharin@nvidia.com> | 2024-09-18 17:41:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-18 17:41:33 -0700 |
| commit | 104f3c180644c8872eaad0b3fcf6a6b948d92a71 (patch) | |
| tree | 36b7872ce594ccf25c2399d1ff0fe93f9007a7bb /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 8f3fb5d982db63572c11dd602780218ec45df986 (diff) | |
Reland "[flang][runtime] Use cuda::std::complex in F18 runtime CUDA build. (#109078)" (#109207)
`std::complex` operators do not work for the CUDA device compilation
of F18 runtime. This change makes use of `cuda::std::complex` from
`libcudacxx`.
`cuda::std::complex` does not have specializations for `long double`,
so the change is accompanied with a clean-up for `long double` usage.
Additional change on top of #109078 is to use `cuda::std::complex`
only for the device compilation, otherwise the host compilation
fails because `libcudacxx` may not support `long double` specialization
at all (depending on the compiler).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
