HomePhabricator

[CUDA, test-suite] Disable testing of non-FP complex types.

Authored by tra on Feb 24 2021, 11:33 AM.

Description

[CUDA, test-suite] Disable testing of non-FP complex types.

According to the standard, instantiating of non-FP complex types is an
unspecified behavior.
http://eel.is/c++draft/complex.numbers.general#2.sentence-1

Non-FP complex types happen to work with libc++, libstdc++ 8 and older, but
break with libstdc++ 9 and newer due to the library not providing implicit
conversion std::complex<FP> ones.

Differential Revision: https://reviews.llvm.org/D97404

Details