Revert D80450 "[CUDA][HIP] Fix implicit HD function resolution"
authorFangrui Song <maskray@google.com>
Thu, 11 Jun 2020 00:40:04 +0000 (17:40 -0700)
committerFangrui Song <maskray@google.com>
Thu, 11 Jun 2020 00:42:28 +0000 (17:42 -0700)
commitdfc0d9475556cb04f443f728e68cf8c7afa904eb
tree872f1735f26a5bd708a0838a5f99e0d27545be0d
parent475935113c8277fb971f6658aa8df38cd7f80a30
Revert D80450 "[CUDA][HIP] Fix implicit HD function resolution"

This reverts commit 263390d4f5f23967a31af09eb6e0c12e633d6104.

This can still cause bogus errors:

eigen3/Eigen/src/Core/CoreEvaluators.h:94:38: error: call to implicitly-deleted copy constructor of 'unary_evaluator<Eigen::Inverse<Eigen::Matrix<double, 4, 4, 0, 4, 4>>>'

thrust/system/detail/generic/for_each.h:49:3: error: implicit instantiation of undefined template
'thrust::detail::STATIC_ASSERTION_FAILURE<false>'
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaCUDA.cpp
clang/lib/Sema/SemaOverload.cpp
clang/test/SemaCUDA/function-overload.cu