Commit Graph

  • f7d5b9323d typo Gael Guennebaud 2015-07-29 11:08:49 +02:00
  • 175ed636ea bug #973: update macro-level control of alignement by introducing user-controllable EIGEN_MAX_ALIGN_BYTES and EIGEN_MAX_STATIC_ALIGN_BYTES macros. This changeset also removes EIGEN_ALIGN (replaced by EIGEN_MAX_ALIGN_BYTES>0), EIGEN_ALIGN_STATICALLY (replaced by EIGEN_MAX_STATIC_ALIGN_BYTES>0), EIGEN_USER_ALIGN*, EIGEN_ALIGN_DEFAULT (replaced by EIGEN_ALIGN_MAX). Gael Guennebaud 2015-07-29 10:22:25 +02:00
  • 76874b128e bug #1047: document the structure layout of class Matrix Gael Guennebaud 2015-07-29 10:21:28 +02:00
  • 41e1f3498c bug #1048: fix unused variable warning Gael Guennebaud 2015-07-28 22:59:50 +02:00
  • b9db19aec4 Pulled latest updates from trunk. Benoit Steiner 2015-07-27 09:39:57 -07:00
  • f84417d97b Removed an incorrect assertion. Benoit Steiner 2015-07-27 09:25:22 -07:00
  • 1a30a8e7a2 Merged in godeffroy/eigen_tensor_generalized_contraction (pull request PR-130) Benoit Steiner 2015-07-27 09:19:35 -07:00
  • a44d022caf bug #792: SparseLU::factorize failed for structurally rank deficient matrices Christoph Hertzberg 2015-07-26 20:30:30 +02:00
  • 2195822df6 Allowed tensor contraction operation with an empty array of dimension pairs, which performs a tensor product. Godeffroy Valet 2015-07-25 11:58:36 +02:00
  • f6282e451a Fixed a typo in an assertion. Benoit Steiner 2015-07-24 17:35:47 -07:00
  • 4b3052c54d Pulled latest update from trunk Benoit Steiner 2015-07-23 08:47:33 -07:00
  • a446020b78 Reenable 2 tests previously disabled by mistake Benoit Steiner 2015-07-23 08:47:00 -07:00
  • 3d951df223 Re-enabled unit tests which were disabled in commit 4200bdec24 . Christoph Hertzberg 2015-07-23 10:55:03 +02:00
  • 6d6e6d0b88 Define EIGEN_VECTORIZE_AVX2 and EIGEN_VECTORIZE_FMA when the corresponding instructions can be used by the compiler Benoit Steiner 2015-07-22 18:22:16 -07:00
  • ce65c2922a Pulled latest updates from trunk Benoit Steiner 2015-07-22 18:12:16 -07:00
  • 4200bdec24 Extended the range of value inputs for TensorIntDiv to support tensors with more than 4 billion elements. Benoit Steiner 2015-07-22 17:02:30 -07:00
  • 3b0ad02c10 Remove wrongly pushed debugging statements Gael Guennebaud 2015-07-22 14:33:57 +02:00
  • 815fa0dbf6 Fixed some compiler bugs in NVCC, now compiles with CUDA. (chtz: Manually joined sevaral commits to keep the history clean) Jonas Adler 2015-07-22 12:29:18 +02:00
  • d259b719d1 Made sure that the use const expressions are not enabled when compiling with nvcc even when gcc 4.9 is used as the host compiler. Benoit Steiner 2015-07-21 17:35:58 -07:00
  • 0dda72316f The eigen_check macro doesn't exist anymore: use assert instead Benoit Steiner 2015-07-21 17:34:15 -07:00
  • 586d10f7e0 Fix compilation of tri(sparse) * dense with OpenMP Gael Guennebaud 2015-07-21 22:52:21 +02:00
  • d3e5db9a80 add regression unit test for previous changeset Gael Guennebaud 2015-07-21 22:23:17 +02:00
  • 5e635f9ca1 AlignedVector3 accepts implicit conversions from more operators. Valentin Roussellet 2015-07-21 16:42:52 +00:00
  • 45ee14a13a Fix output of relative error, and add more support for long double Gael Guennebaud 2015-07-21 22:22:12 +02:00
  • 87f3e533f5 bug #1036: implement verify_is_approx_upto_permutation through a combinatorial search. The previous implementation was subject to numerical cancellation issues. Gael Guennebaud 2015-07-20 15:34:06 +02:00
  • ab8b497a7e Add pow(scalar,array) in quick ref Gael Guennebaud 2015-07-20 13:59:21 +02:00
  • 6544b49e59 Generalize pow(x,e) such that x and e can be a different expression type or a scalar for either x or e. Add x.pow(e) with e an array expression. Gael Guennebaud 2015-07-20 13:57:55 +02:00
  • 2d93060291 Fix trivial warnings. Gael Guennebaud 2015-07-20 13:55:48 +02:00
  • c11971de37 Fix compilation of isnan(complex) Gael Guennebaud 2015-07-20 12:56:01 +02:00
  • 88e352adac Add support for replicate in CUDA Gael Guennebaud 2015-07-20 10:53:03 +02:00
  • 6799c26cd6 Fixed a typo in a test and a compilation warning Benoit Steiner 2015-07-17 16:50:47 -07:00
  • 7a39439904 Rewrote Eigen::dimensions_match to prevent a static assertion when the rank of the tensors is different. Benoit Steiner 2015-07-17 16:46:30 -07:00
  • e94f9eb637 Fixed a const correctness issue in TensorLayoutSwap Benoit Steiner 2015-07-17 15:44:26 -07:00
  • 513e357b48 Added support for prefetching on cuda devices Benoit Steiner 2015-07-17 15:35:16 -07:00
  • 943035e5bd Pulled latest updates from trunk Benoit Steiner 2015-07-17 09:42:45 -07:00
  • 06a22ca5bd Added support for sigmoid function to the tensor module Benoit Steiner 2015-07-17 09:29:00 -07:00
  • 3275eddc24 Add const getters for LM parameters Nicolas Mellado 2015-07-17 09:11:49 +02:00
  • 979b73cebf Fixed a typo in Macro.h Benoit Steiner 2015-07-16 14:17:50 -07:00
  • a5ec25f11c Use the new EIGEN_HAS_INDEX_LIST define to enable the cxx11_tensor_index_list tests Benoit Steiner 2015-07-16 13:16:08 -07:00
  • 7a243959b4 Define EIGEN_HAS_INDEX_LIST whenever the class is defined. This makes it easier to support compilers that are cxx11 compliant and compilers that aren't. Benoit Steiner 2015-07-16 13:14:18 -07:00
  • b756f6af5e Added missing APIs to the Eigen::Sizes class Benoit Steiner 2015-07-16 12:14:18 -07:00
  • 05787f8367 Added support for tensor inflation. Benoit Steiner 2015-07-16 09:04:05 -07:00
  • b900fe47d5 Avoid relying on a default value for the Vectorizable template parameter of the EvalRange functor Benoit Steiner 2015-07-15 17:17:04 -07:00
  • 4b3d697e12 Fixed compilation error in a cuda test Benoit Steiner 2015-07-15 17:14:24 -07:00
  • 8315e025e1 Updated the cuda tests to use the new GpuDevice constructor Benoit Steiner 2015-07-15 12:39:26 -07:00
  • e892524efe Added support for multi gpu configuration to the GpuDevice class Benoit Steiner 2015-07-15 12:38:34 -07:00
  • f5aa640862 Clean some previous changes and more cuda fixes Gael Guennebaud 2015-07-15 10:57:55 +02:00
  • 7cecd39a84 Merged eigen/eigen into default Nicolas Mellado 2015-07-15 10:15:54 +02:00
  • 592ee2a4b4 Add missing EIGEN_DEVICE_FUNC Nicolas Mellado 2015-07-15 10:14:52 +02:00
  • 6527dbb9f8 Merged in emartin/eigen (pull request PR-123) Gael Guennebaud 2015-07-13 23:58:30 +02:00
  • b80036abec Enabled the construction of a fixed sized tensor directly from an expression. Benoit Steiner 2015-07-13 11:16:37 -07:00
  • 3912ca0d53 Fixed a bug in the integer division code that caused some large numerators to be incorrectly handled Benoit Steiner 2015-07-13 11:14:59 -07:00
  • ea87561564 bug #1039: Redefining EIGEN_DEFAULT_DENSE_INDEX_TYPE may lead to errors Christoph Hertzberg 2015-07-13 16:08:25 +02:00
  • b8df8815f4 Fix operator<<(ostream,AlignedVector3) Gael Guennebaud 2015-07-13 13:55:59 +02:00
  • 002c2923c2 Modify GEMM to handle m=0, n=0, and k=0 cases. Eric Martin 2015-07-11 21:46:13 -05:00
  • dbb3e2cf8a Cleaning Nicolas Mellado 2015-07-11 18:15:31 +00:00
  • 0d09845562 Revert files to remove EIGEN_USING_NUMEXT_MATH Nicolas Mellado 2015-07-11 20:11:36 +02:00
  • 20b96025fd Replace double constants by Scalar constants Nicolas Mellado 2015-07-11 20:02:30 +02:00
  • 1dd6a329e8 Cuda compatibility: remove explicit call to std math functions Nicolas Mellado 2015-07-11 19:40:15 +02:00
  • bc40eb745d Merged eigen/eigen into default Nicolas Mellado 2015-07-11 19:33:43 +02:00
  • e6297741c9 Added support for generation of random complex numbers on CUDA devices Benoit Steiner 2015-07-07 17:40:49 -07:00
  • 6de6fa9483 Use NumTraits<T>::RequireInitialization instead of internal::is_arithmetic<T>::value to check whether it's possible to bypass the type constructor in the tensor code. Benoit Steiner 2015-07-07 15:23:56 -07:00
  • 7b7df7b6b8 Updated internal::is_arithmetic::value to be true for complex numbers Benoit Steiner 2015-07-07 12:57:35 -07:00
  • 6e55284e51 Pulled latest changes from trunk Benoit Steiner 2015-07-07 08:54:37 -07:00
  • a93af65938 Improved and cleaned up the 2d patch extraction code Benoit Steiner 2015-07-07 08:52:14 -07:00
  • 7fa6fe8d8c typo Gael Guennebaud 2015-07-07 17:47:24 +02:00
  • fa17358c4b Rotation2D: fix slerp to take the shortest path, and add convenient method to get the angle in [-pi,pi] or [0,pi] Gael Guennebaud 2015-07-07 17:27:12 +02:00
  • 3f2101b03b Use numext::swap instead of std::swap Benoit Steiner 2015-07-06 17:02:29 -07:00
  • 0485a2468d use Eigen smart_copy instead of std::copy Benoit Steiner 2015-07-06 17:01:51 -07:00
  • ebdacfc5ea Fixed a compilation warning generated by clang Benoit Steiner 2015-07-06 15:03:11 -07:00
  • 81f9e968fd Only attempt to use the texture path on GPUs when it's supported by CUDA Benoit Steiner 2015-07-06 13:32:38 -07:00
  • 66b30728f8 Merged eigen/eigen into default Nicolas Mellado 2015-07-06 20:58:31 +02:00
  • 5359e5cdb2 Protect against compilation errors with nvcc and numext/complex. Disable functions explicitely involving std::complex when compiling with nvcc. Improve code compatilibity using the new macro EIGEN_USING_NUMEXT_MATH (same spirit than EIGEN_USING_STD_MATH but for numext functions) Nicolas Mellado 2015-07-06 20:55:01 +02:00
  • 864318e508 Misc small fixes to the tensor slicing code. Benoit Steiner 2015-07-06 11:45:56 -07:00
  • c2019dfeb3 Merged in Emie/eigen (pull request PR-121) Gael Guennebaud 2015-07-06 16:48:54 +02:00
  • ea7113dd0c typo correction in mathFunction Emilie Guy 2015-07-06 14:31:08 +02:00
  • 9115896590 Merged eigen/eigen into default Nicolas Mellado 2015-07-03 00:41:11 +02:00
  • 95ef94f1ee Fixed a typo in the patch Benoit Steiner 2015-07-02 07:06:55 +00:00
  • 8f1d547c92 Added a default value for the cuda stream in the GpuDevice constructor Benoit Steiner 2015-07-01 18:32:18 -07:00
  • 1e911b276c Misc improvements and optimizations Benoit Steiner 2015-07-01 13:59:11 -07:00
  • 4ed213f97b Improved a previous fix Benoit Steiner 2015-07-01 13:06:30 -07:00
  • 56e155dd60 Fixed a couple of mistakes in the previous commit. Benoit Steiner 2015-07-01 12:40:27 -07:00
  • 925d0d375a Enabled the vectorized evaluation of several tensor expressions that was previously disabled by mistake Benoit Steiner 2015-07-01 11:32:04 -07:00
  • 44eedd8915 Marked the cast functions as EIGEN_DEVICE_FUNC to ensure that we can run casting on GPUs Benoit Steiner 2015-06-30 15:48:55 -07:00
  • 6021b68d8b Silenced a compilation warning Benoit Steiner 2015-06-30 15:42:25 -07:00
  • f1f480b116 Added support for user defined custom tensor op. Benoit Steiner 2015-06-30 15:36:29 -07:00
  • dc31fcb9ba Added support for 3D patch extraction Benoit Steiner 2015-06-30 14:48:26 -07:00
  • f587075987 Made ThreadPoolDevice inherit from a new pure abstract ThreadPoolInterface class: this enables users to leverage their existing threadpool when using eigen tensors. Benoit Steiner 2015-06-30 14:21:24 -07:00
  • 28b36632ec Turned Eigen::array::size into a function to make the code compatible with std::array Benoit Steiner 2015-06-30 13:23:05 -07:00
  • 109005c6c9 Added a test for multithreaded full reductions Benoit Steiner 2015-06-30 13:08:12 -07:00
  • a4aa7c6217 Fixed a few compilation warnings Benoit Steiner 2015-06-30 10:36:17 -07:00
  • 7d41e97fa9 Silenced a number of compilation warnings Benoit Steiner 2015-06-29 14:47:40 -07:00
  • fffe63045c Added a test for full reductions on GPU Benoit Steiner 2015-06-29 14:10:32 -07:00
  • db9dbbda32 Improved performance of full reduction by 2 order of magnitude on CPU and 3 orders of magnitude on GPU Benoit Steiner 2015-06-29 14:06:32 -07:00
  • f0ce85b757 Improved support for fixed size tensors Benoit Steiner 2015-06-29 14:04:15 -07:00
  • 670c71d906 Express the full reduction operations (such as sum, max, min) using TensorDimensionList Benoit Steiner 2015-06-29 11:30:36 -07:00
  • d8098ee7d5 Added support for tanh function to the tensor code Benoit Steiner 2015-06-29 11:14:42 -07:00
  • 3625734bc8 Moved some utilities to TensorMeta.h to make it easier to reuse them accross several tensor operations. Created the TensorDimensionList class to encode the list of all the dimensions of a tensor of rank n. This could be done using TensorIndexList, however TensorIndexList require cxx11 which isn't yet supported as widely as we'd like. Benoit Steiner 2015-06-29 10:49:55 -07:00
  • 392a30db82 Use VERIFY_IS_EQUAL instead of VERIFY(a==b) to get more feedback in case of failure Gael Guennebaud 2015-06-26 16:22:49 +02:00
  • c911fc8dee split compiler intensive bdcsvd_1 unit test Gael Guennebaud 2015-06-26 16:14:23 +02:00