Merge pull request #584 from ROCm-Developer-Tools/fix-vector-explicit-cast

Fix explicit cast required
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus GitHub tiomanta 2018-07-23 10:13:05 +05:30
2 tuismitheoirí b6397143a6 4ddb81424f
tiomantas 06db076b10
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -123,7 +123,7 @@ THE SOFTWARE.
typename std::enable_if<
(rank > 1) && sizeof...(Us) == rank>::type* = nullptr>
__host__ __device__
HIP_vector_type(Us... xs) noexcept { data = Native_vec_{xs...}; }
HIP_vector_type(Us... xs) noexcept { data = Native_vec_{static_cast<T>(xs)...}; }
__host__ __device__
HIP_vector_type(const HIP_vector_type&) = default;
__host__ __device__