提交 c052df40 编写于 作者: B Benoit Steiner 提交者: TensorFlower Gardener

Avoid using functions from the std namespace on GPU.

Change: 119695799
上级 8217a41e
......@@ -66,7 +66,7 @@ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T MaybeConj(T v) {
#define MAYBE_CONJ(T) \
template <> \
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T MaybeConj<T>(T v) { \
return std::conj(v); \
return Eigen::numext::conj(v); \
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册