[PATCH] D46993: [CUDA] Make std::min/max work when compiling in C++14 mode with a C++11 stdlib.

Jakub Klinkovský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 8 13:22:59 PDT 2018


lahwaacz added a comment.

This revision does not do the right thing because it makes it impossible to use the std::min and std::max functions in __host__ __device__ functions under C++14: https://bugs.llvm.org/show_bug.cgi?id=37753


Repository:
  rC Clang

https://reviews.llvm.org/D46993





More information about the cfe-commits mailing list