From 22164ebc3f2107f9f22fcdd3be90c5b41388d5ca Mon Sep 17 00:00:00 2001 From: Jatin Chaudhary Date: Mon, 15 Feb 2021 05:23:46 -0800 Subject: [PATCH] SWDEV-268531 - Fixing shadow variable warning in vector_types Change-Id: Ic57e22853529a953582c9194d09133a5aab989aa --- include/hip/amd_detail/hip_vector_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hip/amd_detail/hip_vector_types.h b/include/hip/amd_detail/hip_vector_types.h index 5789ccafb3..88635befc8 100644 --- a/include/hip/amd_detail/hip_vector_types.h +++ b/include/hip/amd_detail/hip_vector_types.h @@ -642,8 +642,8 @@ THE SOFTWARE. __host__ __device__ explicit constexpr - HIP_vector_type(U x) noexcept - : HIP_vector_base{static_cast(x)} + HIP_vector_type(U x_) noexcept + : HIP_vector_base{static_cast(x_)} {} template< // TODO: constrain based on type as well. typename... Us,