Gael Guennebaud
59398aa2bb
comment unreachable code
...
(grafted from 112c8993049ea0c4ef8e3e4f257880626f8b39e1
)
2018-04-03 23:16:43 +02:00
Gael Guennebaud
170914dbbc
Fix compilation of product with inverse transpositions (e.g., mat * Transpositions().inverse())
...
(grafted from a1292395d6feefa5d78ed9101c2c85648ba8eea9
)
2018-04-03 23:06:44 +02:00
Gael Guennebaud
866d222d60
commit 45e9c9996da790b55ed9c4b0dfeae49492ac5c46 (HEAD -> memory_fix)
...
Author: George Burgess IV <gbiv@google.com>
Date: Thu Mar 1 11:20:24 2018 -0800
Prefer `::operator new` to `new`
The C++ standard allows compilers much flexibility with `new`
expressions, including eliding them entirely
(https://godbolt.org/g/yS6i91 ). However, calls to `operator new` are
required to be treated like opaque function calls.
Since we're calling `new` for side-effects other than allocating heap
memory, we should prefer the less flexible version.
Signed-off-by: George Burgess IV <gbiv@google.com>
(grafted from 8c7b5158a10af19bb98f2c2b5c57d44fd8899fe8
)
2018-04-03 17:15:38 +02:00
Gael Guennebaud
86a939451c
bug #1527 : fix support for MKL's VML (destination was not properly resized)
...
(grafted from dd4cc6bd9e60d1ab2cef4c66ee922d3d84f3d0b2
)
2018-04-03 17:11:15 +02:00
Gael Guennebaud
9ff3150243
bug #1528 : better use numeric_limits::min() instead of 1/highest() that with underflow.
...
(grafted from c5b56f1fb27fb5b85eefef6b93dd71f4edb400db
)
2018-04-03 16:49:35 +02:00
Benoit Steiner
a7144f8d6a
Made the TensorStorage class compile with clang 3.9
...
(grafted from de7b0fdea9db957d2135c32e850ad069b64b5f1e
)
2017-02-28 13:52:22 -08:00
Gael Guennebaud
273738ba6f
bug #1516 : add assertion for out-of-range diagonal index in MatrixBase::diagonal(i)
...
(grafted from 8d0ffe36552aeeb5f46d9c652edc45c68e536cdd
)
2018-04-03 16:15:43 +02:00
Gael Guennebaud
3fb42ff7b2
bug #1532 : disable stl::*_negate in C++17 (they are deprecated)
...
(grafted from 407e3e2621077a6cd768042c88c652ad75a085ae
)
2018-04-03 15:59:30 +02:00
Gael Guennebaud
e90a14609a
Fix uninitialized output argument.
...
(grafted from 524119d32a2ac354a384717da38526087a242eb0
)
2018-04-03 10:56:10 +02:00
Gael Guennebaud
ece56baba0
Merged in bfierz/eigen/3.3 (pull request PR-345)
...
Adds missing EIGEN_STRONG_INLINE to support MSVC properly inlining small vector calculations
2018-03-27 07:40:13 +00:00
Gael Guennebaud
1724dae8b8
Add static assertion for fixed sizes Ref<>
...
(grafted from f7d17689a5e4609418c55ec47d7e5924e2785460
)
2018-03-09 10:11:13 +01:00
Gael Guennebaud
190b46dd1f
Implement better static assertion checking to make sure that the first assertion is a static one and not a runtime one.
...
(grafted from f6be7289d703ea608db01bfae1fb41cb93465363
)
2018-03-09 10:00:51 +01:00
Gael Guennebaud
74daf12e52
Add static assertion on selfadjoint-view's UpLo parameter.
...
(grafted from d820ab9edc0b38af4cdb3d545714a0c9083e5a78
)
2018-03-09 09:33:43 +01:00
Gael Guennebaud
c24844195d
bug #1517 : fix triangular product with unit diagonal and nested scaling factor: (s*A).triangularView<UpperUnit>()*B
...
(grafted from 5deeb19e7bb19c67abeac0a6cfa26ad3d14e215b
)
2018-02-09 16:52:35 +01:00
Gael Guennebaud
15752027ec
Fix linear indexing in generic block evaluation.
...
(grafted from 12efc7d41b80259b996be5781bf596c249c90d3f
)
2018-02-09 16:45:49 +01:00
Eugene Chereshnev
bfc66e8b9a
Fix incorrect ldvt in LAPACKE call from JacobiSVD
...
(grafted from f558ad2955ef4899f208883f46c410273e21451d
)
2018-01-03 12:55:52 -08:00
Gael Guennebaud
b60cbbef37
fix compilation with old compiler
2017-12-15 17:53:48 +01:00
Gael Guennebaud
33b972d8b3
Fix compilation of stableNorm with some expressions as input
...
(grafted from 06bf1047f99afec61062e188ec4e68efbf203d86
)
2017-12-15 15:15:37 +01:00
Gael Guennebaud
bb28a2aada
fix warning
2017-12-15 14:43:33 +01:00
Gael Guennebaud
acd0ce11aa
Fix cmake warning
...
(grafted from 31e0bda2e3b44b908e63f3b19ade2f4af12c7e10
)
2017-12-14 15:48:27 +01:00
Basil Fierz
01fb621733
Adds missing EIGEN_STRONG_INLINE to support MSVC properly inlining small vector calculations
...
When working with MSVC often small vector operations are not properly inlined. This behaviour is observed even on the most recent compiler versions.
2017-10-26 22:44:28 +02:00
Benoit Steiner
71d1198ccd
Merged in henryiii/eigen/henryiii/device33 (pull request PR-344)
...
Branch 3.3: Fixing missing inlines on device functions for newer CUDA cards
2017-10-21 01:59:01 +00:00
Henry Schreiner
95ec3232c6
Restore __device__
2017-10-21 00:48:05 +00:00
Henry Schreiner
243249718b
Adding missing inlines for CUDA and ARCH 6
2017-10-20 13:00:23 +00:00
Gael Guennebaud
32a6db0f8c
bug #1468 (1/2) : add missing std:: to memcpy
...
(grafted from 8579195169ba046b980b01769edb581b281e0b8a
)
2017-09-22 09:23:24 +02:00
Gael Guennebaud
6fc0f2be70
Update documentation for aligned_allocator
...
(grafted from 7ad07fc6f2e1dd74554ba576367883c4236c6b98
)
2017-09-20 10:22:00 +02:00
Gael Guennebaud
70ac6c9230
Add C++11 max_digits10 for half.
...
(grafted from 9c353dd1450c362175213c1018b15b24ac840826
)
2017-09-06 10:22:47 +02:00
Gael Guennebaud
609e425166
Implement true compile-time "if" for apply_rotation_in_the_plane. This fixes a compilation issue for vectorized real type with missing vectorization for complexes, e.g. AVX512.
...
(grafted from b35d1ce4a532a40e16927bb303a4c48b2bef1d7c
)
2017-09-06 10:02:49 +02:00
Gael Guennebaud
4ead16cdd6
Fix mixing types in sparse matrix products.
...
(grafted from 80142362ac35ca77bfc5ccf7ba49c9f034b57abc
)
2017-09-02 22:50:20 +02:00
Gael Guennebaud
361102f88b
Merged in dtrebbien/eigen/patch-1 (pull request PR-312)
...
Work around a compilation error seen with nvcc V8.0.61
(grafted from fc39d5954b72ca2307921beb8a784cd78c2a8d10
)
2017-08-22 12:17:37 +00:00
Gael Guennebaud
5d40715db6
Handle min/max/inf/etc issue in cuda_fp16.h directly in test/main.h
...
(grafted from 304ef2957134be386e50592ad7120177c5f3a7c0
)
2017-08-24 11:26:41 +02:00
Gael Guennebaud
e7c065ec71
bug #1462 : remove all occurences of the deprecated __CUDACC_VER__ macro by introducing EIGEN_CUDACC_VER
2017-08-24 11:06:47 +02:00
Gael Guennebaud
18868228ad
bug #336 : improve doc for PlainObjectBase::Map
...
(grafted from 39864ebe1eb7c8028769cf5d8750faaabce22446
)
2017-08-22 17:18:43 +02:00
Gael Guennebaud
fbb0c510c5
Add missing scalar conversion
...
(grafted from 600e52fc7f574504fa832d67c9d94c991e504bdc
)
2017-08-22 17:06:57 +02:00
Gael Guennebaud
a8d2459f8e
bug #1449 : fix redux_3 unit test
...
(grafted from bc4dae9aeb84cc3d3114ee496d55654cc7256584
)
2017-08-22 15:59:08 +02:00
Gael Guennebaud
9a266e5118
bug #1461 : fix compilation of Map<const Quaternion>::x()
...
(grafted from bc91a2df8b9f1c5fa47bfeb9b03c2036890570b5
)
2017-08-22 15:10:42 +02:00
Gael Guennebaud
51e1aa1539
Doc: warn about constness in LLT::solveInPlace
...
(grafted from b223918ea99dcff9f6a3f8d017e7bd79ff4a7db7
)
2017-08-22 14:12:47 +02:00
Jim Radford
0137ed4f19
LLT: const the arg to solveInPlace() to allow passing .transpose(), .block(), etc.
...
(grafted from 0c226644d8cf21d35cfcf46c60ce66d2183f530e
)
2017-01-04 14:42:57 -08:00
Jim Radford
9d03711df8
LLT: avoid making a copy when decomposing in place
...
(grafted from be281e528967ed00ed52f50a476beef10ff0dec3
)
2017-01-04 14:43:56 -08:00
Gael Guennebaud
1ca9072b51
Gub 1453: fix Map with non-default inner-stride but no outer-stride.
...
(grafted from e27f17bf5c921dca73b4d2dc1a90863b36292fdc
)
2017-08-22 13:27:37 +02:00
Gael Guennebaud
9fd138e2b3
Re-enable hidden doc in LLT
...
(grafted from 2c3d70d915a939d0da33ca22742a26c271adcb82
)
2017-08-22 12:04:09 +02:00
Gael Guennebaud
55fbf4fedd
bug #1456 : add perf recommendation for LLT and storage format
...
(grafted from 21d0a0bcf5eef2fb89f1ca48b65d52ec03e97272
)
2017-08-22 12:46:35 +02:00
Gael Guennebaud
b87875abf8
bug #1455 : Cholesky module depends on Jacobi for rank-updates.
...
(grafted from a6e7a41a553d3663cefc45a5d2b509494d8adb37
)
2017-08-22 11:37:32 +02:00
Gael Guennebaud
ac2c97edff
bug #1458 : fix documentation of LLT and LDLT info() method.
...
(grafted from e6021cc8cc6298196026119e8486c67ea2604376
)
2017-08-22 11:32:55 +02:00
Gael Guennebaud
292dea7922
Clarify MKL_DIRECT_CALL doc.
...
(grafted from 2810ba194be85af0012f786e6c032b2bfe432be9
)
2017-08-17 22:12:26 +02:00
Gael Guennebaud
070b5958e0
use MKL's lapacke.h header when using MKL
...
(grafted from f727844658f8c9c01302b5cb08d81c62c572b82b
)
2017-08-17 21:58:39 +02:00
Gael Guennebaud
3108fbf767
Clarify doc regarding the usage of MKL_DIRECT_CALL
...
(grafted from 8c858bd8919936f250d2e7b090c0d17f00dbb85b
)
2017-08-17 12:17:45 +02:00
Gael Guennebaud
9df7f3d8e9
Fix support for MKL's BLAS when using MKL_DIRECT_CALL.
...
(grafted from b95f92843c58a914c46ab091009146288b8b775c
)
2017-08-17 12:07:10 +02:00
Gael Guennebaud
782fd81dee
Disable BDCSVD preallocation check.
...
(grafted from d580a90c9ab5ed5521a79670f73bcea5ee755fe0
)
2017-07-20 10:03:54 +02:00
Gael Guennebaud
fa77d71335
Fix lazyness of operator* with CUDA
2017-07-20 09:47:28 +02:00