This partially reverts 0401550 . The changes to array `.real` and `.imag` are undone - the implementation of `.imag` for real arrays looks a little different than the original version because the helper function it used, `numpy_zeros_like_nd()`, no longer exists. However, the code in this branch implements the equivalent operation of creating an empty array and filling it with zeroes. The fixups that were part of the reverted commit are not undone, because they are necessary for correctness and don't have any negative side-effects.
gmarkall
changed the title
[WIP] Debugging Issue #8309
CUDA: Fix Issue #8309 (atomics don't work on complex components) by reverting them from overloads back to low-level API
gmarkall
changed the title
CUDA: Fix Issue #8309 (atomics don't work on complex components) by reverting them from overloads back to low-level API
CUDA: Fix Issue #8309 - atomics don't work on complex components
gmarkall marked this pull request as ready for review
August 5, 2022 08:34