From 034e5c0311e192fc6a7e10f5a9df13489be973a2 Mon Sep 17 00:00:00 2001 From: Aryan Salmanpour Date: Tue, 9 Jul 2019 23:05:04 -0400 Subject: [PATCH] Fix a compilation error when templated operator<< fails if 'U' type is std::ostream. (#1209) --- hipamd/include/hip/hcc_detail/hip_vector_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/hipamd/include/hip/hcc_detail/hip_vector_types.h b/hipamd/include/hip/hcc_detail/hip_vector_types.h index 07908c71a4..953e4eb5f8 100644 --- a/hipamd/include/hip/hcc_detail/hip_vector_types.h +++ b/hipamd/include/hip/hcc_detail/hip_vector_types.h @@ -738,6 +738,7 @@ THE SOFTWARE. typename T, unsigned int n, typename U, + typename std::enable_if::value>::type, typename std::enable_if{}>* = nullptr> inline __host__ __device__ HIP_vector_type operator<<(