Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(451)

Issue 6901046: Optimizing matrix inversion and determinant. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by whunt
Modified:
12 years ago
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Optimizing matrix inversion and determinant. Reduce matrix inversion from 351 fops to 139 fops. Added a benchmark for matrix inverse. The rest of the patch reduces the benchmark time from 8.3 cmsecs to 5.7 cmsecs.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added a benchmark for matrix inverse. The rest of the patch reduces #

Patch Set 3 : Optimizing matrix inversion and determinant. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -58 lines) Patch
M bench/Matrix44Bench.cpp View 1 2 chunks +32 lines, -0 lines 0 comments Download
M src/utils/SkMatrix44.cpp View 1 2 2 chunks +95 lines, -58 lines 0 comments Download

Messages

Total messages: 22
whunt
Updated matrix inversion and determinant code to use a version that factors the math in ...
12 years, 1 month ago (2012-12-07 01:09:16 UTC) #1
reed1
adding other heads. Do we already have a bench for these routines? If not, lets ...
12 years, 1 month ago (2012-12-07 14:33:46 UTC) #2
bsalomon
https://codereview.appspot.com/6901046/diff/1/src/utils/SkMatrix44.cpp File src/utils/SkMatrix44.cpp (right): https://codereview.appspot.com/6901046/diff/1/src/utils/SkMatrix44.cpp#newcode498 src/utils/SkMatrix44.cpp:498: double a00 = fMat[0][0]; If you really want this ...
12 years, 1 month ago (2012-12-07 14:45:14 UTC) #3
TomH
+1 for inline function rather than cut-and-paste. Otherwise LGTM, but do we need somebody hardcore ...
12 years, 1 month ago (2012-12-07 14:47:39 UTC) #4
whunt
I would be considered hardcore in this respect =). On 2012/12/07 14:47:39, TomH wrote: > ...
12 years, 1 month ago (2012-12-07 18:21:46 UTC) #5
whunt
https://codereview.appspot.com/6901046/diff/1/src/utils/SkMatrix44.cpp File src/utils/SkMatrix44.cpp (right): https://codereview.appspot.com/6901046/diff/1/src/utils/SkMatrix44.cpp#newcode498 src/utils/SkMatrix44.cpp:498: double a00 = fMat[0][0]; I think you guys are ...
12 years, 1 month ago (2012-12-07 18:21:52 UTC) #6
jamesr
On 2012/12/07 14:47:39, TomH wrote: > +1 for inline function rather than cut-and-paste. > > ...
12 years, 1 month ago (2012-12-12 03:17:00 UTC) #7
shawnsingh
+1 I'm also interested in seeing this land very soon. For what it's worth, I ...
12 years, 1 month ago (2012-12-12 06:54:37 UTC) #8
TomH
I don't like the code duplication, but can live with it. Mike specifically requested a ...
12 years, 1 month ago (2012-12-12 10:01:44 UTC) #9
whunt
On 2012/12/12 10:01:44, TomH wrote: > I don't like the code duplication, but can live ...
12 years, 1 month ago (2012-12-12 18:43:58 UTC) #10
reed1
Questions around code-duplication are usually (perceived) maintenance -vs- measure performance. Adding (or using existing) benchmarks ...
12 years, 1 month ago (2012-12-12 18:45:29 UTC) #11
whunt
Added a benchmark for matrix inverse. The rest of the patch reduces the benchmark time ...
12 years, 1 month ago (2012-12-12 22:40:41 UTC) #12
whunt
12 years, 1 month ago (2012-12-12 22:41:16 UTC) #13
whunt
Optimizing matrix inversion and determinant. Reduce matrix inversion from 351 fops to 139 fops. Added ...
12 years, 1 month ago (2012-12-12 23:05:07 UTC) #14
TomH
Thanks, that'll do. LGTM. On Linux, I see a benchmark improvement of 6.66 -> 4.66. ...
12 years, 1 month ago (2012-12-13 09:55:57 UTC) #15
reed1
Thanks. Do we also want a bench for determinant()?
12 years, 1 month ago (2012-12-13 13:27:41 UTC) #16
whunt
On 2012/12/13 13:27:41, reed1 wrote: > Thanks. Do we also want a bench for determinant()? ...
12 years, 1 month ago (2012-12-14 21:55:05 UTC) #17
whunt
Is this patch going to get committed? On 2012/12/14 21:55:05, whunt wrote: > On 2012/12/13 ...
12 years, 1 month ago (2012-12-18 01:06:23 UTC) #18
jamesr
It did: http://code.google.com/p/skia/source/detail?r=6775 On Mon, Dec 17, 2012 at 5:06 PM, <whunt@chromium.org> wrote: > Is ...
12 years, 1 month ago (2012-12-18 01:55:50 UTC) #19
whunt
On 2012/12/18 01:55:50, jamesr wrote: > It did: > > http://code.google.com/p/skia/source/detail?r=6775 > > > On ...
12 years, 1 month ago (2012-12-18 02:04:12 UTC) #20
TomH
On 2012/12/18 02:04:12, whunt wrote: > > Interesting, does the skia system not rename issues ...
12 years, 1 month ago (2012-12-18 09:52:10 UTC) #21
brian2
12 years ago (2012-12-18 12:39:21 UTC) #22
On 2012/12/18 09:52:10, TomH wrote:
> On 2012/12/18 02:04:12, whunt wrote:
> > 
> > Interesting, does the skia system not rename issues to (closed) afterwards?
> 
> It's not just renaming, it's changing the state in the system.
> That's why I asked you to do it when I committed it, because only the owner
can
> close an issue.
> 
> The fast way is to look at the top of the page next to the issue number and
> click on the little x-in-circle.

It only closes automatically on commit if the issue owner uses gcl commit to
check in the change. Otherwise it must be closed manually.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b