SWDEV-268531 - Fixing shadow variable warning in vector_types

Change-Id: Ic57e22853529a953582c9194d09133a5aab989aa
Cette révision appartient à :
Jatin Chaudhary a créé et Jatin Chaudhary a révisé 2021-02-16 06:51:37 -05:00
1 Parent debceab2a8
révision 22164ebc3f
1 fichier modifié
+2 -2
+2 -2
Voir le fichier
@@ -642,8 +642,8 @@ THE SOFTWARE.
__host__ __device__
explicit
constexpr
HIP_vector_type(U x) noexcept
: HIP_vector_base<T, rank>{static_cast<T>(x)}
HIP_vector_type(U x_) noexcept
: HIP_vector_base<T, rank>{static_cast<T>(x_)}
{}
template< // TODO: constrain based on type as well.
typename... Us,