Christoph Hertzberg
|
9642fd7a93
|
Replace all M_PI by EIGEN_PI and add a check to the testsuite.
|
2016-03-23 15:37:45 +01:00 |
|
Benoit Steiner
|
28e02996df
|
Merged patch 672 from Justin Lebar: Don't use long doubles with cuda
|
2016-03-22 16:53:57 -07:00 |
|
Benoit Steiner
|
3d1e857327
|
Fixed compilation error
|
2016-03-22 15:48:28 -07:00 |
|
Benoit Steiner
|
de7d92c259
|
Pulled latest updates from trunk
|
2016-03-22 15:24:49 -07:00 |
|
Benoit Steiner
|
002cf0d1c9
|
Use a single Barrier instead of a collection of Notifications to reduce the thread synchronization overhead
|
2016-03-22 15:24:23 -07:00 |
|
Benoit Steiner
|
bc2b802751
|
Fixed a couple of typos
|
2016-03-22 14:27:34 -07:00 |
|
Benoit Steiner
|
e7a468c5b7
|
Filter some compilation flags that nvcc warns about.
|
2016-03-22 14:26:50 -07:00 |
|
Benoit Steiner
|
6a31b7be3e
|
Avoid using std::vector whenever possible
|
2016-03-22 14:02:50 -07:00 |
|
Benoit Steiner
|
65a7113a36
|
Use an enum instead of a static const int to prevent possible link error
|
2016-03-22 09:33:54 -07:00 |
|
Benoit Steiner
|
f9ad25e4d8
|
Fixed contractions of 16 bit floats
|
2016-03-22 09:30:23 -07:00 |
|
Benoit Steiner
|
8ef3181f15
|
Worked around a constness related issue
|
2016-03-21 11:24:05 -07:00 |
|
Benoit Steiner
|
7a07d6aa2b
|
Small cleanup
|
2016-03-21 11:12:17 -07:00 |
|
Benoit Steiner
|
e91f255301
|
Marked variables that's only used in debug mode as such
|
2016-03-21 10:02:00 -07:00 |
|
Benoit Steiner
|
db5c14de42
|
Explicitly cast the default value into the proper scalar type.
|
2016-03-21 09:52:58 -07:00 |
|
Christoph Hertzberg
|
b224771f40
|
bug #1178: Simplified modification of the SSE control register for better portability
|
2016-03-20 10:57:08 +01:00 |
|
Benoit Steiner
|
8e03333f06
|
Renamed some class members to make the code more readable.
|
2016-03-18 15:21:04 -07:00 |
|
Benoit Steiner
|
6c08943d9f
|
Fixed a bug in the padding of extracted image patches.
|
2016-03-18 15:19:10 -07:00 |
|
Benoit Steiner
|
134d750eab
|
Completed the implementation of vectorized type casting of half floats.
|
2016-03-18 13:36:28 -07:00 |
|
Benoit Steiner
|
7bd551b3a9
|
Make all the conversions explicit
|
2016-03-18 12:20:08 -07:00 |
|
Benoit Steiner
|
bb0e73c191
|
Gate all the CUDA tests under the EIGEN_TEST_NVCC option
|
2016-03-18 12:17:37 -07:00 |
|
Benoit Steiner
|
2db4a04827
|
Fixed a typo
|
2016-03-18 12:08:01 -07:00 |
|
Benoit Steiner
|
dd514de8a9
|
Added a test to validate the fallback path for half floats
|
2016-03-18 12:02:39 -07:00 |
|
Benoit Steiner
|
9a7ece9caf
|
Worked around constness issue
|
2016-03-18 10:38:29 -07:00 |
|
Benoit Steiner
|
edc679f6c6
|
Fixed compilation warning
|
2016-03-18 07:12:34 -07:00 |
|
Benoit Steiner
|
53d498ef06
|
Fixed compilation warnings in the cuda tests
|
2016-03-18 07:04:54 -07:00 |
|
Benoit Steiner
|
e10e126cd0
|
pulled latest updates from trunk
|
2016-03-17 21:48:38 -07:00 |
|
Benoit Steiner
|
70eb70f5f8
|
Avoid mutable class members when possible
|
2016-03-17 21:47:18 -07:00 |
|
Benoit Steiner
|
7b98de1f15
|
Implemented some of the missing type casting for half floats
|
2016-03-17 21:45:45 -07:00 |
|
Benoit Steiner
|
afb81b7ded
|
Made sure to use the hard abi when compiling with NEON instructions to avoid the "gnu/stubs-soft.h: No such file or directory" error
|
2016-03-17 21:24:24 -07:00 |
|
Benoit Steiner
|
95b8961a9b
|
Allocate the mersenne twister used by the random number generators on the heap instead of on the stack since they tend to keep a lot of state (i.e. about 5k) around.
|
2016-03-17 15:23:51 -07:00 |
|
Benoit Steiner
|
f7329619da
|
Fix bug in tensor contraction. The code assumes that contraction axis indices for the LHS (after possibly swapping to ColMajor!) is increasing. Explicitly sort the contraction axis pairs to make it so.
|
2016-03-17 15:08:02 -07:00 |
|
Christoph Hertzberg
|
46aa9772fc
|
Merged in ebrevdo/eigen (pull request PR-169)
Bugfixes to cuda tests, igamma & igammac implemented, & tests for digamma, igamma, igammac on CPU & GPU.
|
2016-03-16 21:59:08 +01:00 |
|
Eugene Brevdo
|
f1f7181f53
|
Merge default branch.
|
2016-03-16 12:46:19 -07:00 |
|
Eugene Brevdo
|
1f69a1b65f
|
Change the header guard around certain numext functions to be CUDA specific.
|
2016-03-16 12:44:35 -07:00 |
|
Benoit Steiner
|
ab9b749b45
|
Improved a test
|
2016-03-14 20:03:13 -07:00 |
|
Benoit Steiner
|
5a51366ea5
|
Fixed a typo.
|
2016-03-14 09:25:16 -07:00 |
|
Benoit Steiner
|
fcf59e1c37
|
Properly gate the use of cuda intrinsics in the code
|
2016-03-14 09:13:44 -07:00 |
|
Benoit Steiner
|
97a1f1c273
|
Make sure we only use the half float intrinsic when compiling with a version of CUDA that is recent enough to provide them
|
2016-03-14 08:37:58 -07:00 |
|
Eugene Brevdo
|
9550be925d
|
Merge specfun branch.
|
2016-03-13 15:46:51 -07:00 |
|
Eugene Brevdo
|
b1a9afe9a9
|
Add tests in array.cpp that check igamma/igammac properties.
This adds to the set of existing tests, which compare a specific
set of values to third party calculated ground truth.
|
2016-03-13 15:45:34 -07:00 |
|
Benoit Steiner
|
e29c9676b1
|
Don't mark the cast operator as explicit, since this is a c++11 feature that's not supported by older compilers.
|
2016-03-12 00:15:58 -08:00 |
|
Benoit Steiner
|
eecd914864
|
Also replaced uint32_t with unsigned int to make the code more portable
|
2016-03-11 19:34:21 -08:00 |
|
Benoit Steiner
|
1ca8c1ec97
|
Replaced a couple more uint16_t with unsigned short
|
2016-03-11 19:28:28 -08:00 |
|
Benoit Steiner
|
0423b66187
|
Use unsigned short instead of uint16_t since they're more portable
|
2016-03-11 17:53:41 -08:00 |
|
Benoit Steiner
|
048c4d6efd
|
Made half floats usable on hardware that doesn't support them natively.
|
2016-03-11 17:21:42 -08:00 |
|
Benoit Steiner
|
b72ffcb05e
|
Made the comparison of Eigen::array GPU friendly
|
2016-03-11 16:37:59 -08:00 |
|
Benoit Steiner
|
25f69cb932
|
Added a comparison operator for Eigen::array
Alias Eigen::array to std::array when compiling with Visual Studio 2015
|
2016-03-11 15:20:37 -08:00 |
|
Benoit Steiner
|
c5b98a58b8
|
Updated the cxx11_meta test to work on the Eigen::array class when std::array isn't available.
|
2016-03-11 11:53:38 -08:00 |
|
Benoit Steiner
|
456e038a4e
|
Fixed the +=, -=, *= and /= operators to return a reference
|
2016-03-10 15:17:44 -08:00 |
|
Benoit Steiner
|
86d45a3c83
|
Worked around visual studio compilation warnings.
|
2016-03-09 21:29:39 -08:00 |
|