Commit Graph

  • 2e1adc0324 Merged eigen/eigen into default Rasmus Munk Larsen 2018-08-13 15:32:00 -07:00
  • 8278ae6313 Add support for thread local support on platforms that do not support it through emulation using a hash map. Rasmus Munk Larsen 2018-08-13 15:31:23 -07:00
  • 1aa86aad14 Merge with upstream. Mehdi Goli 2018-08-13 15:40:31 +01:00
  • eabc7a4031 PR 465: Fix issue in RowMajor assignment in plain_matrix_type_row_major::type Justin Carpentier 2018-08-10 14:30:06 +02:00
  • c49e93440f SuiteSparse defines the macro SuiteSparse_long to control what type is used for 64bit integers. The default value of this macro on non-MSVC platforms is long and __int64 on MSVC. CholmodSupport defaults to using long for the long variants of CHOLMOD functions. This creates problems when SuiteSparse_long is different than long. So the correct thing to do here is to use SuiteSparse_long as the type instead of long. Rasmus Munk Larsen 2018-08-13 15:53:31 -07:00
  • 501be70b27 Code cleanup Benoit Steiner 2018-08-13 15:16:40 -07:00
  • 3d3711f22f Fixed compilation errors. Benoit Steiner 2018-08-13 15:16:06 -07:00
  • 3ec60215df Merged in rmlarsen/eigen2 (pull request PR-466) Gael Guennebaud 2018-08-13 21:28:20 +00:00
  • 0f1b2e08a5 Call logistic functor from Tensor::sigmoid. Rasmus Munk Larsen 2018-08-13 11:52:58 -07:00
  • d6e283ba96 sigmoid -> logistic Rasmus Munk Larsen 2018-08-13 11:14:50 -07:00
  • 26239ee580 Use NULL instead of nullptr to avoid adding a cxx11 requirement. Benoit Steiner 2018-08-13 11:05:51 -07:00
  • 3810ec228f Don't use the auto keyword since it's not always supported properly. Benoit Steiner 2018-08-13 10:46:09 -07:00
  • e6d5be811d Fixed syntax of nested templates chevrons to make it compatible with c++97 mode. Benoit Steiner 2018-08-13 10:29:21 -07:00
  • c8ea398675 Avoided language features that are only available in cxx11 mode. Benoit Steiner 2018-08-10 13:02:41 -07:00
  • 4be4286224 Made the code compile with gcc 5.4. Benoit Steiner 2018-08-10 11:32:58 -07:00
  • 3a2e1b1fc6 Merge with upstream. Mehdi Goli 2018-08-10 12:28:38 +01:00
  • bfc5091dd5 Cast to diagonalSize to RealScalar instead Scalar. Rasmus Munk Larsen 2018-08-09 14:46:17 -07:00
  • 8603d80029 Cast diagonalSize() to Scalar before multiplication. Without this, automatic differentiation in Ceres breaks because Scalar is a custom type that does not support multiplication by Index. Rasmus Munk Larsen 2018-08-09 11:09:10 -07:00
  • ea8fa5e86f Merge with upstream Mehdi Goli 2018-08-09 14:07:56 +01:00
  • 8c083bfd0e Properly fixing the PointerType for TensorCustomOp.h. As the output type here should be based on CoeffreturnType not the Scalar type. Therefore, Similar to reduction and evalTo function, it should have its own MakePointer class. In this case, for other device the type is defaulted to CoeffReturnType and no changes is required on users' code. However, in SYCL, on the device, we can recunstruct the device Type. Mehdi Goli 2018-08-09 13:57:43 +01:00
  • 131ed1191f Merged in codeplaysoftware/eigen-upstream-pure/Fixing_compiler_warning (pull request PR-462) Benoit Steiner 2018-08-08 18:14:15 +00:00
  • 1285c080b3 Merged in codeplaysoftware/eigen-upstream-pure/disabling_assert_in_sycl (pull request PR-459) Benoit Steiner 2018-08-08 18:12:42 +00:00
  • c4b2845be9 Merged in rmlarsen/eigen3 (pull request PR-458) Benoit Steiner 2018-08-08 18:11:49 +00:00
  • 7124172b83 Merged in codeplaysoftware/eigen-upstream-pure/EIGEN_UNROLL_LOOP (pull request PR-460) Benoit Steiner 2018-08-08 18:10:54 +00:00
  • 532a0be05c Fixing compiler warning in TensorBlock.h as it was creating a lot of noise at compilation. Mehdi Goli 2018-08-08 12:12:26 +01:00
  • 67711eaa31 Fixing typo. Mehdi Goli 2018-08-08 11:38:10 +01:00
  • 3055e3a7c2 Creating a pointer type in TensorCustomOp.h Mehdi Goli 2018-08-08 11:19:02 +01:00
  • 22031ab59a Adding EIGEN_UNROLL_LOOP macro. Mehdi Goli 2018-08-08 11:07:27 +01:00
  • 908b906d79 Disabling assert inside SYCL kernel. Mehdi Goli 2018-08-08 10:01:10 +01:00
  • 693fb1d41e Fix init order. Rasmus Munk Larsen 2018-08-07 17:18:51 -07:00
  • 10d286f55b Silenced a couple of compilation warnings. Benoit Steiner 2018-08-06 16:00:29 -07:00
  • d011d05fd6 Fixed compilation errors. Benoit Steiner 2018-08-06 13:40:51 -07:00
  • 36e7e7dd8f Forward declare NoOpOutputKernel as struct rather than class to be consistent with implementation. Rasmus Munk Larsen 2018-08-06 13:16:32 -07:00
  • fa68342ef8 Move sigmoid functor to core. Rasmus Munk Larsen 2018-08-03 17:31:23 -07:00
  • 09c81ac033 bug #1451: fix numeric_limits<AutoDiffScalar<Der>> with a reference as derivative type Gael Guennebaud 2018-08-04 00:17:37 +02:00
  • 1b0373ae10 Replace all using declarations with typedefs in Tensor ops Eugene Zhulenev 2018-08-01 15:55:46 -07:00
  • 7f8b53fd0e bug #1580: Fix cuda clang build. STL is not supported, so std::equal_to and std::not_equal breaks compilation. Update the definition of EIGEN_CONSTEXPR_ARE_DEVICE_FUNC to exclude clang. See also PR 450. Rasmus Munk Larsen 2018-08-01 12:36:24 -07:00
  • bcb29f890c Fix initialization order. Rasmus Munk Larsen 2018-08-03 10:18:53 -07:00
  • cf17794ef4 Merged in codeplaysoftware/eigen-upstream-pure/SYCL-required-changes (pull request PR-454) Benoit Steiner 2018-08-03 16:17:30 +00:00
  • 3074b1ff9e Fixing the compilation error. Mehdi Goli 2018-08-03 17:13:44 +01:00
  • 225fa112aa Merge with upstream. Mehdi Goli 2018-08-03 17:04:08 +01:00
  • 01358300d5 Creating separate SYCL required PR for uncontroversial files. Mehdi Goli 2018-08-03 16:59:15 +01:00
  • 2bf1cc8cf7 Fix 256 bit packet size assumptions in unit tests. Gustavo Lima Chaves 2018-08-02 15:55:36 -07:00
  • dd5875e30d Merged in codeplaysoftware/eigen-upstream-pure/constructor_error_clang (pull request PR-451) Benoit Steiner 2018-08-02 20:46:03 +00:00
  • 113d8343d6 Merged in codeplaysoftware/eigen-upstream-pure/Fixing_visual_studio_error_For_tensor_trace (pull request PR-452) Benoit Steiner 2018-08-02 17:54:26 +00:00
  • 516d2621b9 fixing compilation error for cxx11_tensor_trace.cpp error on Microsoft Visual Studio. Mehdi Goli 2018-08-02 14:30:48 +01:00
  • 40d6d020a0 Fixing ambigous constructor error for Clang compiler. Mehdi Goli 2018-08-02 13:34:53 +01:00
  • 62169419ab Fix two regressions introduced in previous merges: bad usage of EIGEN_HAS_VARIADIC_TEMPLATES and linking issue. Gael Guennebaud 2018-08-01 23:35:34 +02:00
  • 64abdf1d7e Fix typo + get rid of redundant member variables for block sizes Eugene Zhulenev 2018-08-01 12:35:19 -07:00
  • 93b9e36e10 Merged in paultucker/eigen (pull request PR-431) Benoit Steiner 2018-08-01 19:14:34 +00:00
  • 385b3ff12f Merged latest changes from upstream/eigen Eugene Zhulenev 2018-08-01 11:59:04 -07:00
  • 17221115c9 Merged in codeplaysoftware/eigen-upstream-pure/eigen_variadic_assert (pull request PR-447) Benoit Steiner 2018-08-01 16:41:54 +00:00
  • 0360c36170 Merged in codeplaysoftware/eigen-upstream-pure/separating_internal_memory_allocation (pull request PR-446) Benoit Steiner 2018-08-01 16:13:15 +00:00
  • c6a5c70712 Correcting the position of allocate_temp/deallocate_temp in TensorDeviceGpu.h Mehdi Goli 2018-08-01 16:56:26 +01:00
  • 9ca1c09131 Merged in codeplaysoftware/eigen-upstream-pure/new-arch-SYCL-headers (pull request PR-448) Benoit Steiner 2018-08-01 15:50:54 +00:00
  • 45f75f1ace Merged in codeplaysoftware/eigen-upstream-pure/using_PacketType_class (pull request PR-449) Benoit Steiner 2018-08-01 15:43:03 +00:00
  • 90e632fd66 Merged in codeplaysoftware/eigen-upstream-pure/EIGEN_STRONG_INLINE_MACRO (pull request PR-445) Benoit Steiner 2018-08-01 15:41:06 +00:00
  • af96018b49 Using the suggested modification. Mehdi Goli 2018-08-01 16:04:44 +01:00
  • b512a9536f Enabling per device specialisation of packetsize. Mehdi Goli 2018-08-01 13:39:13 +01:00
  • c84509d7cc Adding new arch/SYCL headers, used for SYCL vectorization. Mehdi Goli 2018-08-01 12:40:54 +01:00
  • 3a197a60e6 variadic version of assert which can take a parameter pack as its input. Mehdi Goli 2018-08-01 12:19:14 +01:00
  • d7a8414848 Distinguishing between internal memory allocation/deallocation from explicit user memory allocation/deallocation. Mehdi Goli 2018-08-01 11:56:30 +01:00
  • 9e219bb3d3 Converting ad-hoc inline keyword to EIGEN_STRONG_INLINE MACRO. Mehdi Goli 2018-08-01 10:47:49 +01:00
  • 83c0a16baf Add block evaluation support to TensorOps Eugene Zhulenev 2018-07-31 15:56:31 -07:00
  • edf46bd7a2 Merged in yuefengz/eigen (pull request PR-370) Benoit Steiner 2018-07-31 22:38:28 +00:00
  • 385f7b8d0c Change getAllocator() to allocator() in ThreadPoolDevice. Paul Tucker 2018-07-31 13:52:18 -07:00
  • d6568425f8 Close branch tiling_3. Gael Guennebaud 2018-07-31 08:13:43 +00:00
  • 678a0dcb12 Merged in ezhulenev/eigen/tiling_3 (pull request PR-438) Gael Guennebaud 2018-07-31 08:13:00 +00:00
  • 679eece876 Speedup trivial tensor broadcasting on GPU by enforcing unaligned loads. See PR 437. Gael Guennebaud 2018-07-31 10:10:14 +02:00
  • 723856dec1 bug #1577: fix msvc compilation of unit test, msvc defines ptrdiff_t as long long Gael Guennebaud 2018-07-30 14:52:15 +02:00
  • 966c2a7bb6 Rename Index to StorageIndex + use Eigen::Array and Eigen::Map when possible Eugene Zhulenev 2018-07-27 12:45:17 -07:00
  • 6913221c43 Add tiled evaluation support to TensorExecutor Eugene Zhulenev 2018-07-25 13:51:10 -07:00
  • 7b91c11207 bug #1578: Improve prefetching in matrix multiplication on MIPS. Alexey Frunze 2018-07-24 18:36:44 -07:00
  • f5cace5e9f Fix two small typos in the documentation Patrik Huber 2018-07-26 19:55:19 +00:00
  • 34539c4af4 Merged in rmlarsen/eigen1 (pull request PR-441) Gael Guennebaud 2018-07-30 11:26:24 +00:00
  • bc615e4585 Re-enable FMA for fast sqrt functions Mark D Ryan 2018-07-30 13:21:00 +02:00
  • 96b030a8e4 Re-enable FMA for fast sqrt functions Mark D Ryan 2018-07-30 10:19:51 +01:00
  • e478532625 Reduce the number of template specializations of classes related to tensor contraction to reduce binary size. Rasmus Munk Larsen 2018-07-27 12:36:34 -07:00
  • d55efa6f0f TensorBlockIO Eugene Zhulenev 2018-07-23 15:50:55 -07:00
  • d4afccde5a Add test coverage for ThreadPoolDevice optional allocator. Paul Tucker 2018-07-19 17:43:44 -07:00
  • 4e9848fa86 Actually add optional Allocator* arg to ThreadPoolDevice(). Paul Tucker 2018-07-16 17:53:36 -07:00
  • b3e7c9132d Add optional Allocator argument to ThreadPoolDevice constructor. When supplied, this allocator will be used in place of internal::aligned_malloc. This permits e.g. use of a NUMA-node specific allocator where the thread-pool is also restricted a single NUMA-node. Paul Tucker 2018-07-16 17:26:05 -07:00
  • 32cb4853c6 bug #1562: optimize evaluation of small products of the form s*A*B by rewriting them as: s*(A.lazyProduct(B)) to save a costly temporary. Measured speedup from 2x to 5x... (grafted from d428a199ab ) Gael Guennebaud 2018-07-02 11:41:09 +02:00
  • 5c4b03c53e Added leading asterisk for Doxygen to consume as it was removing asterisk intended to be part of the code. Kyle Vedder 2019-07-18 18:12:14 +00:00
  • 3a79cc3f5b Fix typo in Umeyama method documentation Michael Grupp 2019-07-17 11:20:41 +00:00
  • 71d0402e3e Avoid throwing in destructors (this caused build warnings in test-suite) Christoph Hertzberg 2019-06-28 11:55:38 +02:00
  • 427f2f66d6 bug #1724: Mask buggy warnings with g++-7 Christoph Hertzberg 2019-06-14 14:57:46 +02:00
  • 6ed74ac97c digits10() needs to return an integer Problem reported on https://stackoverflow.com/questions/56395899 (grafted from 5614400581 ) Christoph Hertzberg 2019-05-31 15:45:41 +02:00
  • 841d844f9c Use pade for matrix exponential also for complex values. (grafted from c5019f722b ) Michael Tesch 2019-05-08 17:04:55 +02:00
  • 4387298e80 Cast Index to RealScalar This fixes compilation issues with RealScalar types that are not implicitly castable from Index (e.g. ceres Jet types). Reported by Peter Anderson-Sprecher via eMail (grafted from ac21a08c13 ) Christoph Hertzberg 2019-05-23 15:31:12 +02:00
  • 4f77286c3d Collapsed revision from PR-641 * SparseLU.h - corrected example, it didn't compile * Changed encoding back to UTF8 Christoph Hertzberg 2019-05-13 19:02:30 +02:00
  • 4a242ac43d bug #1695: fix a numerical robustness issue. Computing the secular equation at the middle range without a shift might give a wrong sign. (grafted from 45e65fbb77 ) Gael Guennebaud 2019-03-27 20:16:58 +01:00
  • fe8cd812b0 backport EIGEN_HAS_C99_MATH for MSVC Gael Guennebaud 2019-03-22 10:16:08 +01:00
  • b7249a2a42 Remove debug code. (grafted from cf697272e1 ) Gael Guennebaud 2018-12-09 23:05:46 +01:00
  • 7c42084503 Various fixes in polynomial solver and its unit tests: - cleanup noise in imaginary part of real roots - take into account the magnitude of the derivative to check roots. - use <= instead of < at appropriate places (grafted from 450dc97c6b ) Gael Guennebaud 2018-12-09 22:54:39 +01:00
  • 8fb28db12d Rename variable which shadows class name (grafted from 44ee201337 ) Christoph Hertzberg 2018-07-25 20:26:15 +02:00
  • e79c5149bf Fix AVX512 implementations of psqrt Mark D Ryan 2018-06-25 05:05:02 -07:00
  • 2ebcb911b2 Add pcast packet op for NEON. Rasmus Munk Larsen 2018-07-26 14:28:48 -07:00
  • 397b0547e1 DIsable static assertions only when necessary and disable double-promotion warnings in that case as well Christoph Hertzberg 2018-07-26 00:01:24 +02:00
  • 5e79402b4a fix warnings for doc-eigen-prerequisites Christoph Hertzberg 2018-07-24 21:59:15 +02:00