SWDEV-268531 - Fixing shadow variable warning in vector_types
Change-Id: Ic57e22853529a953582c9194d09133a5aab989aa
Αυτή η υποβολή περιλαμβάνεται σε:
υποβλήθηκε από
Jatin Chaudhary
γονέας
debceab2a8
υποβολή
22164ebc3f
@@ -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,
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user