aboutsummaryrefslogtreecommitdiff
path: root/Eigen/src/Core
AgeCommit message (Collapse)Author
2022-02-25Fix Wunused-parameter warningYi Kong
Test: presubmit Change-Id: Iee153445dbbbde6652702e213546dd794ac93895
2022-02-25Upgrade eigen to 3.4.0Yi Kong
Steps: * Removed common files between Android copy and the matching upstream copy * Obtained latest upstream tarball (see README.version) * Extracted over the directory Bug: 148287349 Test: presubmit Change-Id: Iee2744719075fdf000b315e973645923da766111
2021-03-29Include <sstream> explicitly, and don't rely on the implicit include via ↵Ryan Prichard
<complex>. This implicit dependency does no longer exist in a recent llbm release (sha 78be61871704). (cherry picked from commit f0ce88cff75e2020b4beae54b094c77c526724a2) Bug: none Test: treehugger Change-Id: I99de5fa44b488209f60cec59902574e0f91cbce0
2020-02-07Add type aliases required by TF rebaseLev Proleev
Test: mma Change-Id: I6c54139b6f6a833c3688928d56fc3513f7b1586a
2019-01-17Add scalar_logistic_op to EigenMiao Wang
Test: mm Change-Id: Ib09c5bb5adeef356fc42cbe8a2edfda4c727c536
2018-06-29Fix for HDRNet producing nondeterministic results.David Gross
Eigen reads and writes volatile scalars to allow thread A to communicate to thread B that data written by thread A is available for thread B to read. However, volatile on Android doesn't guarantee ordered accesses, so it's not certain that after thread B sees the volatile write from thread A that data written by thread A is actually visible to thread B. The solution is to replace those volatile scalars with std::atomic<>. There might be an alternative with better performance (such as imposing looser ordering constraints than the default std::atomic<> ordering constraints). Bug: 109953668 Test: NeuralNetworksTest_static Test: adb shell am instrument -e class \ "com.example.android.nn.benchmark.NNTest#testNNAPI11Seconds[hdrnet_float]" \ -w com.example.android.nn.benchmark/android.support.test.runner.AndroidJUnitRunner # test device (including neural networks runtime) is aosp_walleye-userdebug # bench is from goog/master # also ran with mobilenet_float in place of hdrnet_float # could not reproduce problem in this environment; reproduced on # an internal branch on unreleased hardware Change-Id: Idea6e4b0a3db168dce5915c1beacb643267f3ec6
2017-12-18Remove the workaround for Eigen sigmoid_opMiao Wang
Test: mm Change-Id: I595f302a591e0f1fb8cd3549926ea29e8e446401 Merged-In: I595f302a591e0f1fb8cd3549926ea29e8e446401
2017-07-26Add sigmoid functors to Eigen/Core.Miao Wang
- Workaround to resolve Android NN API dependency. Test: mm Test: nnapi_example tests all pass Change-Id: I9818787c3c6b46bb0cf3b91b31be20e7fa8955e5
2017-07-06Rebase Eigen to 3.3.4Miao Wang
Test: mm Test: build system image for sailfish Test: BLAS CTS tests pass Change-Id: I4944ef4940e8cd8dd77191cff20d506c9da43f02
2017-03-07Rebase Eigen to 3.3.3.Miao Wang
Bug: 34161771 Test: mm and RenderScript BLAS tests pass on bullhead. Change-Id: Ia448b3202708e395fed9c783ea4323289d69dbef
2016-09-08Don't use posix_memalign.Dan Albert
Android didn't have posix_memalign until android-16, and this is building for android-9. This breaks following the NDK headers update. Test: mm Bug: None Change-Id: I228aa66e36cd7e4f40c4ae7bea6a7b68490189d5
2015-07-15Make eigen and libblas able to build for API8 x86 target.Miao Wang
- WAR for missing posix_memalign on API 8 Change-Id: I9403eb52d83325f8429ca831d8a10b1f290ddc0c
2015-07-13Rebase Eigen to 3.2.5 (latest stable release)Miao Wang
Change-Id: Ib67c5a41748fe13c7824dbb78dd11e2cce08bc1b
2015-07-09fix eigen crash on fugu when executing ZHEMV with SSE instructions.Miao Wang
- ZHEMV crash when using aligned store & load instruction - Workaround: replacing the aligned instructions with unaligned version. bug: 22184124 Change-Id: Ic6efd630938adb1b8783636c2bc7029e7e3b3c2d (cherry picked from commit 68f030476cbad3be84cd3baacf9518865d5ff877)
2015-02-17Rebase Eigen to 3.2.4.Tim Murray
Change-Id: Ia5161a916545b0a7903825b57faac438086320f3
2014-08-05Update Eigen to the latest stable release, 3.2.2android-wear-5.1.1_r1android-wear-5.1.0_r1android-wear-5.0.0_r1android-l-preview_r2android-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1lollipop-wear-releaselollipop-releaselollipop-mr1-wfc-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releaselollipop-devlollipop-cts-releasel-previewCarlos Hernandez
./Eigen/src/Core/util/NonMPL2.h is left untouched, so that usage of non MPL2 code is disabled. Change-Id: I86fc9257b3c30d0ca15b268d4ef07bf038bba7ca
2014-01-09Partially syncs eigen with the google3 version.Ami Patel
Needed to build https://googleplex-android-review.git.corp.google.com/#/c/401377/ Change-Id: I7b1d3a8c6eec4c919edd08c87b7a5f8410bb12bb
2013-10-03Fix Build.Carlos Hernandez
Eigen to not use std::forward since it is not supported in google3 or android. Change-Id: Idc386a19b8525df7ffa77e97fcfb3b661b8c0455
2012-11-07Initial import of eigen 3.1.1android-cts-4.4_r4android-cts-4.2_r2android-4.4_r1.2.0.1android-4.4_r1.2android-4.4_r1.1.0.1android-4.4_r1.1android-4.4_r1.0.1android-4.4_r1android-4.4_r0.9android-4.4_r0.8android-4.3_r2.3android-4.3_r2.2android-4.3_r2.1android-4.3_r2android-4.3_r1.1android-4.3_r1android-4.3_r0.9.1android-4.3_r0.9android-4.2.2_r1.2android-4.2.2_r1.1android-4.2.2_r1kitkat-releasekitkat-cts-releasejb-mr2.0-releasejb-mr2-releasejb-mr1.1-releasejb-mr1.1-devNarayan Kamath
Added a README.android and a MODULE_LICENSE_MPL2 file. Added empty Android.mk and CleanSpec.mk to optimize Android build. Non MPL2 license code is disabled in ./Eigen/src/Core/util/NonMPL2.h. Trying to include such files will lead to an error. Change-Id: I0e148b7c3e83999bcc4dfaa5809d33bfac2aac32