Fix a compilation error when templated operator<< fails if 'U' type is std::ostream. (#1209)
[ROCm/hip commit: e87b5a1e8a]
这个提交包含在:
1 父节点
6b29461f65
当前提交
d46430b450
1 个文件已更改
+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<<(
|
||||
|
||||
在新工单中引用
屏蔽一个用户