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

Fix explicit cast required

[ROCm/hip commit: 06db076b10]
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus GitHub tiomanta 2018-07-23 10:13:05 +05:30
2 tuismitheoirí 04776c39ff 89a00bc280
tiomantas f87491f61c
1 comhad athraithe
+1 -1
@@ -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__