[PATCH] D48036: [CUDA] Make min/max shims host+device.

Justin Lebar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 13 09:49:46 PDT 2018


jlebar added a comment.

> Last comment in the bug pointed out that those overloads should be constexpr in c++14. Maybe in a separate patch, though.

Yeah, would prefer to do it in a separate patch.  It's possible that having constexpr min/max in C++14 mode *without a C++14 standard library* will cause problems.  (Don't mean to FUD it -- we should try.  I just would like to be able to roll them back separately.  :)


https://reviews.llvm.org/D48036





More information about the cfe-commits mailing list