[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 13:34:45 PDT 2016


jlebar added a comment.

Actually, this isn't enough.  It works fine for std::complex, but it screws with our existing std math business, because some of the host functions that we're trying to override are constexpr, and now they're treated as constexpr host-device.


http://reviews.llvm.org/D18219





More information about the cfe-commits mailing list