Fix for broken CXX11 unsupported unit tests on HIP. Commit c0eb5f89...
This issue was discovered when I ran the CXX11 GPU device unit tests on the AMD HIP platform.
Commit c0eb5f89 referenced numext::real and numext::imag before they were defined so this caused the AMD HIP compiler to give an error.
This fixes the issue.
/cc @cantonios
Edited by Rohit Santhanam