[PATCH] D18219: Add -cuda-relaxed-constexpr, which lets CUDA device code call constexpr functions.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 16 20:35:29 PDT 2016


jlebar added a comment.

Abandoning this for now -- it is a maze of twisty passages all alike.  Some std math functions are constexpr, and making them host+device affects all our existing math overloads in fun and exciting ways.

We may need this at some point, but for now I'm going to try something more finely targeted specifically at std::complex.


http://reviews.llvm.org/D18219





More information about the cfe-commits mailing list