The test_omptarget_complex_reduction test has an ifdef to disable user-defined-reductions when they are not needed for std::complex reductions. This change automatically sets the necessary macro when building with the NVHPC (PGI) compilers, since std::complex reductions are supported. This change enables this test to build and pass with NVHPC 20.11.
The test_omptarget_complex_reduction test has an ifdef to disable user-defined-reductions when they are not needed for std::complex reductions. This change automatically sets the necessary macro when building with the NVHPC (PGI) compilers, since std::complex reductions are supported. This change enables this test to build and pass with NVHPC 20.11.