eigen/unsupported/Eigen
Antonio Sanchez 1e6c6c1576 Replace memset with fill to work for non-trivial scalars.
For custom scalars, zero is not necessarily represented by
a zeroed-out memory block (e.g. gnu MPFR). We therefore
cannot rely on `memset` if we want to fill a matrix or tensor
with zeroes. Instead, we should rely on `fill`, which for trivial
types does end up getting converted to a `memset` under-the-hood
(at least with gcc/clang).

Requires adding a `fill(begin, end, v)` to `TensorDevice`.

Replaced all potentially bad instances of memset with fill.

Fixes #2245.
2021-07-08 18:34:41 +00:00
..
CXX11 Replace memset with fill to work for non-trivial scalars. 2021-07-08 18:34:41 +00:00
src Replace memset with fill to work for non-trivial scalars. 2021-07-08 18:34:41 +00:00
AdolcForward Add missing adolc isinf/isnan. 2021-02-19 22:26:56 +00:00
AlignedVector3 fix AlignedVector3 inconsisent interface with other Vector classes, default constructor and operator- were missing. 2019-12-06 21:07:39 +01:00
ArpackSupport Remove vim specific comments to recognoize correct file-type. 2021-02-09 09:13:09 +01:00
AutoDiff
BVH
CMakeLists.txt
EulerAngles
FFT ReturnByValue is already non-copyable 2021-02-27 18:44:26 +01:00
IterativeSolvers fixed doxygen for unsupported iterative solver module 2021-04-11 16:26:14 +00:00
KroneckerProduct
LevenbergMarquardt
MatrixFunctions
MoreVectorization
MPRealSupport
NonLinearOptimization
NumericalDiff
OpenGLSupport
Polynomials Remove vim specific comments to recognoize correct file-type. 2021-02-09 09:13:09 +01:00
Skyline
SparseExtra Modify googlehash use to account for namespace issues. 2021-04-12 19:00:39 -07:00
SpecialFunctions Special function implementations for half/bfloat16 packets. 2020-12-04 10:16:29 -08:00
Splines