Fix a compilation error when templated operator<< fails if 'U' type is std::ostream. (#1209)
此提交包含在:
1 父節點
bb72dd047c
當前提交
034e5c0311
1 file changed
+1
@@ -738,6 +738,7 @@ THE SOFTWARE.
|
||||
typename T,
|
||||
unsigned int n,
|
||||
typename U,
|
||||
typename std::enable_if<std::is_arithmetic<U>::value>::type,
|
||||
typename std::enable_if<std::is_integral<T>{}>* = nullptr>
|
||||
inline __host__ __device__
|
||||
HIP_vector_type<T, n> operator<<(
|
||||
|
||||
Reference in new issue
封鎖使用者