From d46430b450d55a9e4ac8e52aedca9495634a6a08 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) [ROCm/hip commit: e87b5a1e8aa9c850310721859f0f8fc95f0ebd3a] --- projects/hip/include/hip/hcc_detail/hip_vector_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip/include/hip/hcc_detail/hip_vector_types.h b/projects/hip/include/hip/hcc_detail/hip_vector_types.h index 07908c71a4..953e4eb5f8 100644 --- a/projects/hip/include/hip/hcc_detail/hip_vector_types.h +++ b/projects/hip/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<<(