SWDEV-268531 - Fixing shadow variable warning in vector_types
Change-Id: Ic57e22853529a953582c9194d09133a5aab989aa
[ROCm/hip commit: 22164ebc3f]
This commit is contained in:
committed by
Jatin Chaudhary
parent
e1802c292c
commit
4f4340f4af
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user