mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
disable fill_n optimization for msvc
This commit is contained in:
parent
0af6ab4b76
commit
93ec5450cb
@ -738,6 +738,7 @@ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR void call_dense_assignment
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Specialization for filling the destination with a constant value.
|
// Specialization for filling the destination with a constant value.
|
||||||
|
#if !EIGEN_COMP_MSVC
|
||||||
#ifndef EIGEN_GPU_COMPILE_PHASE
|
#ifndef EIGEN_GPU_COMPILE_PHASE
|
||||||
template <typename DstXprType>
|
template <typename DstXprType>
|
||||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_dense_assignment_loop(
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_dense_assignment_loop(
|
||||||
@ -748,6 +749,7 @@ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_dense_assignment_loop(
|
|||||||
std::fill_n(dst.data(), dst.size(), src.functor()());
|
std::fill_n(dst.data(), dst.size(), src.functor()());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
template <typename DstXprType, typename SrcXprType>
|
template <typename DstXprType, typename SrcXprType>
|
||||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_dense_assignment_loop(DstXprType& dst, const SrcXprType& src) {
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_dense_assignment_loop(DstXprType& dst, const SrcXprType& src) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user