Gael Guennebaud
a796be81a4
relax number of iterations checks to avoid false negatives
...
(cherry picked from commit d835a0bf539e2827502f3d7ddcb1033baf05ecd4)
2020-09-17 18:21:35 +02:00
Christoph Hertzberg
e1e35a2246
Bug #1796 : Make matrix squareroot usable for Map and Ref types
...
Cherry-picked from 1e9664b14737d016fabbdb72327aeda6a06bf623
2019-12-20 18:15:35 +01:00
Gael Guennebaud
a8d516b04e
bug #1281 : fix AutoDiffScalar's make_coherent for nested expression of constant ADs.
...
(grafted from b9837ca9aeccb933e410102125fcd475e6cbcada
)
2019-11-14 14:58:08 +01:00
Gael Guennebaud
a7d6a65d49
Implement c++03 compatible fix for changeset 7a43af1a335da2c0489b4119a33ee1cbff0c15d6
...
(grafted from f0a4642baba70a64128964d96c4ede012614925e
)
2019-10-09 16:00:57 +02:00
Gael Guennebaud
3cf273591a
Fix compilation of FFTW unit test
...
(grafted from 7a43af1a335da2c0489b4119a33ee1cbff0c15d6
)
2019-10-08 08:58:35 +02:00
Gael Guennebaud
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 450dc97c6b14cd738def377d8b04c12427c6449a
)
2018-12-09 22:54:39 +01:00
Gael Guennebaud
e777674a87
Extend polynomial solver unit tests to complexes
...
(grafted from f12b368417992f0974678646f2fb7fa2db44b633
)
2016-11-23 16:05:45 +01:00
Christoph Hertzberg
a4afa90d16
bug #1606 : Explicitly set the standard before find_package(StandardMathLibrary). Also replace EIGEN_COMPILER_SUPPORT_CXX11 in favor of EIGEN_COMPILER_SUPPORT_CPP11.
2018-10-19 17:20:51 +02:00
Christoph Hertzberg
64ec5a1a6b
Change include order to make SparsePlugin work
2018-09-22 10:26:21 +02:00
Christoph Hertzberg
3b92f547f5
Fix more shadowing typedefs
2018-09-08 23:47:53 +02:00
Christoph Hertzberg
718e954df4
Fix shadowing typedefs
2018-09-07 16:34:04 +02:00
Christoph Hertzberg
6111dce0e8
gcc thinks this may not be initialized
2018-08-28 18:33:24 +02:00
Gael Guennebaud
7634a44bfe
Fix "used uninitialized" warnings
...
(grafted from 2f3287da7df977e1e5faae40cf0276e83369da97
)
2018-04-24 17:17:25 +02:00
Gael Guennebaud
2480d04ac7
Workaround warning
...
(grafted from 3ffd449ef5f3e2e3d08dc3b683be3a2f291b6e70
)
2018-04-24 17:11:51 +02:00
Christoph Hertzberg
686e0749a5
Recent Adolc versions require C++11
2018-04-13 19:10:23 +02: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
676a7a3271
fix compilation in C++98
...
(grafted from 8640093af1f66dd6c390420ee6919f7ba0c89e0c
)
2017-06-09 12:45:01 +02:00
Mmanu Chaturvedi
3aef5c1a2f
Specializing numeric_limits For AutoDiffScalar
...
(grafted from 2971503fed85add086cb163d24ee5d402d631aab
)
2017-05-23 17:12:36 -04:00
Benoit Steiner
db3903498d
Merged in benoitsteiner/opencl (pull request PR-246)
...
Improved support for OpenCL
2016-11-08 22:28:44 +00:00
Mehdi Goli
d57430dd73
Converting all sycl buffers to uninitialised device only buffers; adding memcpyHostToDevice and memcpyDeviceToHost on syclDevice; modifying all examples to obey the new rules; moving sycl queue creating to the device based on Benoit suggestion; removing the sycl specefic condition for returning m_result in TensorReduction.h according to Benoit suggestion.
2016-11-08 17:08:02 +00:00
Benoit Steiner
ad086b03e4
Removed unnecessary statement
2016-11-05 12:43:27 -07:00
Gael Guennebaud
55b4fd1d40
Extend mpreal unit test to check LLT with complexes.
2016-11-05 11:28:53 +01:00
Mehdi Goli
0ebe3808ca
Removed the sycl include from Eigen/Core and moved it to Unsupported/Eigen/CXX11/Tensor; added TensorReduction for sycl (full reduction and partial reduction); added TensorReduction test case for sycl (full reduction and partial reduction); fixed the tile size on TensorSyclRun.h based on the device max work group size;
2016-11-04 18:18:19 +00:00
Benoit Steiner
d5f88e2357
Sharded the tensor_image_patch test to help it run on low power devices
2016-10-27 21:48:21 -07:00
Benoit Steiner
0b4b0f11e8
Fixed a few more compilation warnings
2016-10-28 04:01:01 +00:00
Benoit Steiner
306daa24a3
Fixed a compilation warning
2016-10-28 03:50:31 +00:00
Benoit Steiner
8471cf1996
Fixed compilation warning
2016-10-28 03:46:08 +00:00
Benoit Steiner
cf20b30d65
Merge latest updates from trunk
2016-10-20 09:42:05 -07:00
Luke Iwanski
e742da8b28
Merged ComputeCpp into default.
2016-10-14 13:36:51 +01:00
Mehdi Goli
524fa4c46f
Reducing the code by generalising sycl backend functions/structs.
2016-10-14 12:09:55 +01:00
Benoit Steiner
d0ee2267d6
Relaxed the resizing checks so that they don't fail with gcc >= 5.3
2016-10-13 10:59:46 -07:00
Benoit Steiner
7e4a6754b2
Merged eigen/eigen into default
2016-10-12 22:42:33 -07:00
Benoit Steiner
5266ff8966
Cleaned up a regression test
2016-10-08 19:12:44 +00:00
Benoit Steiner
5c68051cd7
Merge the content of the ComputeCpp branch into the default branch
2016-10-07 11:04:16 -07:00
RJ Ryan
bfc264abe8
Add a test that GPU complex product reductions match CPU reductions.
2016-10-06 11:10:14 -07:00
Benoit Steiner
d7f9679a34
Fixed a couple of compilation warnings
2016-10-05 15:00:32 -07:00
Benoit Steiner
ae1385c7e4
Pull the latest updates from trunk
2016-10-05 14:54:36 -07:00
Benoit Steiner
73b0012945
Fixed compilation warnings
2016-10-05 14:24:24 -07:00
Benoit Steiner
4387433acf
Increased the robustness of the reduction tests on fp16
2016-10-05 10:42:41 -07:00
Benoit Steiner
aad20d700d
Increase the tolerance to numerical noise.
2016-10-05 10:39:24 -07:00
Benoit Steiner
616a7a1912
Improved support for compiling CUDA code with clang as the host compiler
2016-10-03 17:09:33 -07:00
Benoit Steiner
422530946f
Renamed the SYCL tests to follow the standard naming convention.
2016-09-30 08:22:10 -07:00
Benoit Steiner
2bda1b0d93
Updated the tensor sum and mean reducer to enable them to process complex numbers on cuda gpus.
2016-09-28 17:08:41 -07:00
RJ Ryan
608b1acd6d
Don't use c++11 features and fix include.
2016-09-20 07:49:05 -07:00
RJ Ryan
b2c6dc48d9
Add CUDA-specific std::complex<T> specializations for scalar_sum_op, scalar_difference_op, scalar_product_op, and scalar_quotient_op.
2016-09-20 07:18:20 -07:00
Luke Iwanski
c771df6bc3
Updated the owners of the file.
2016-09-19 14:09:25 +01:00
Luke Iwanski
b91e021172
Merged with default.
2016-09-19 14:03:54 +01:00
Luke Iwanski
cb81975714
Partial OpenCL support via SYCL compatible with ComputeCpp CE.
2016-09-19 12:44:13 +01:00
Emil Fresk
6edd2e2851
Made AutoDiffJacobian more intuitive to use and updated for C++11
...
Changes:
* Removed unnecessary types from the Functor by inferring from its types
* Removed inputs() function reference, replaced with .rows()
* Updated the forward constructor to use variadic templates
* Added optional parameters to the Fuctor for passing parameters,
control signals, etc
* Has been tested with fixed size and dynamic matricies
Ammendment by chtz: overload operator() for compatibility with not fully conforming compilers
2016-09-16 14:03:55 +02:00