|
Re: Review: lazy bind params individually (issue217043)
I tried to eliminate the "allocation" but there were subtle bugs. I can revisit after committing what I have. (Or, you know, somebody else could do it, too. :-)
Good idea. Next round.
Not
I tried to eliminate the "allocation" but there were subtle bugs. I can revisit after committing what I have. (Or, you know, somebody else could do it, too. :-)
Good idea. Next round.
Not
|
By
Larry Gritz <l...@...>
·
#284
·
|
|
Re: Review: lazy bind params individually (issue217043)
LGTM
I have a few comments (see below) but they can be addressed in future
reviews. 10% is not a bad speedup to start with.
http://codereview.appspot.com/217043/diff/26/33
File
LGTM
I have a few comments (see below) but they can be addressed in future
reviews. 10% is not a bad speedup to start with.
http://codereview.appspot.com/217043/diff/26/33
File
|
By
cku...@...
·
#285
·
|
|
Re: Review: lazy bind params individually (issue217043)
For some reason, the group wasn't CC'd on part of this thread.
--
Larry Gritz
l...@...
For some reason, the group wasn't CC'd on part of this thread.
--
Larry Gritz
l...@...
|
By
Larry Gritz <l...@...>
·
#283
·
|
|
Re: Review: lazy bind params individually (issue217043)
Good suggestions, I'll try some of these out today.
--
Larry Gritz
l...@...
Good suggestions, I'll try some of these out today.
--
Larry Gritz
l...@...
|
By
Larry Gritz <l...@...>
·
#281
·
|
|
Re: Review: lazy bind params individually (issue217043)
Looks like a good start, but I was thinking of a few more optimizations.
Did you try tracking stats about what % of params actually gets bound?
That would less us know how much is on the table to be
Looks like a good start, but I was thinking of a few more optimizations.
Did you try tracking stats about what % of params actually gets bound?
That would less us know how much is on the table to be
|
By
cku...@...
·
#282
·
|
|
Review: lazy bind params individually (issue217043)
Reviewers: ,
Description:
This change, at Chris Kulla's suggestion, is to not fully bind
parameters even when it's time to run the shader body, but rather to
bind the parameters individually as they
Reviewers: ,
Description:
This change, at Chris Kulla's suggestion, is to not fully bind
parameters even when it's time to run the shader body, but rather to
bind the parameters individually as they
|
By
larry...@...
·
#280
·
|
|
Re: Review: warning and bug fixes (issue209049)
Apologies if it seems like I ignored your earlier patch. I've just been so swamped with support for our own productions that little changes that did not affect the compiler releases we work with fell
Apologies if it seems like I ignored your earlier patch. I've just been so swamped with support for our own productions that little changes that did not affect the compiler releases we work with fell
|
By
Larry Gritz <l...@...>
·
#278
·
|
|
Re: Review: warning and bug fixes (issue209049)
Hum, this duplicates some of the issues I fixed several weeks ago in
http://codereview.appspot.com/193074/show
but doesn't include the changes I made to use boost::unordered_map,
which I guess made
Hum, this duplicates some of the issues I fixed several weeks ago in
http://codereview.appspot.com/193074/show
but doesn't include the changes I made to use boost::unordered_map,
which I guess made
|
By
Chris Foster <chri...@...>
·
#279
·
|
|
Review: warning and bug fixes (issue209049)
Reviewers: ,
Description:
Pointed out by "crunchvfx" in
http://code.google.com/p/openshadinglanguage/issues/detail?id=55
Please review this at http://codereview.appspot.com/209049/show
Affected
Reviewers: ,
Description:
Pointed out by "crunchvfx" in
http://code.google.com/p/openshadinglanguage/issues/detail?id=55
Please review this at http://codereview.appspot.com/209049/show
Affected
|
By
larry...@...
·
#277
·
|
|
Re: add spline op-code (issue207090)
I like the improvements.
LGTM.
See my comment about how you can simplify the switch statement.
http://codereview.appspot.com/207090/diff/1013/1016
File src/liboslexec/opspline.cpp
I like the improvements.
LGTM.
See my comment about how you can simplify the switch statement.
http://codereview.appspot.com/207090/diff/1013/1016
File src/liboslexec/opspline.cpp
|
By
larry...@...
·
#276
·
|
|
Re: add spline op-code (issue207090)
'SKIP_KNOT_DERIVS'
things, it
later.
derivatives of each
Oh, and the spline type can also be varying.
http://codereview.appspot.com/207090/show
'SKIP_KNOT_DERIVS'
things, it
later.
derivatives of each
Oh, and the spline type can also be varying.
http://codereview.appspot.com/207090/show
|
By
cliffo...@...
·
#275
·
|
|
Re: add spline op-code (issue207090)
Here's what I've done:
* moved Dual2<float/vec3> operators to dual_vec.h
* made knot-derivatives compile-time selectable with
'SKIP_KNOT_DERIVS' define. They default to on because I suspect
Here's what I've done:
* moved Dual2<float/vec3> operators to dual_vec.h
* made knot-derivatives compile-time selectable with
'SKIP_KNOT_DERIVS' define. They default to on because I suspect
|
By
cliffo...@...
·
#274
·
|
|
Re: add spline op-code (issue207090)
addressing comments
http://codereview.appspot.com/207090/show
addressing comments
http://codereview.appspot.com/207090/show
|
By
cliffo...@...
·
#273
·
|
|
Re: Review: lazy binding (issue207100)
LGTM
Having done this - did you have any more thoughts on the even lazier
version that binds only those parameters that actually get used?
http://codereview.appspot.com/207100/show
LGTM
Having done this - did you have any more thoughts on the even lazier
version that binds only those parameters that actually get used?
http://codereview.appspot.com/207100/show
|
By
cku...@...
·
#272
·
|
|
Review: lazy binding (issue207100)
Reviewers: osl-dev_googlegroups.com, dev-osl_imageworks.com,
Description:
We had already been executing shader layers lazily (only as params are
"pulled" from downstream shaders), but we started by
Reviewers: osl-dev_googlegroups.com, dev-osl_imageworks.com,
Description:
We had already been executing shader layers lazily (only as params are
"pulled" from downstream shaders), but we started by
|
By
larry...@...
·
#271
·
|
|
Re: run flags vs active intervals
Aha!
Well, I have made no further progress on the runflags/indices/spans issue, but I did finally get "lazy bind" implemented, and it shaves a whopping 25% or more off total render time for
Aha!
Well, I have made no further progress on the runflags/indices/spans issue, but I did finally get "lazy bind" implemented, and it shaves a whopping 25% or more off total render time for
|
By
Larry Gritz <l...@...>
·
#269
·
|
|
Re: run flags vs active intervals
Oh gosh, this is very surprising and disappointing.
I do know that when I tried a partial implementation of this idea with aqsis'
shader virtual machine ages ago I was getting speedups of 15% or so
Oh gosh, this is very surprising and disappointing.
I do know that when I tried a partial implementation of this idea with aqsis'
shader virtual machine ages ago I was getting speedups of 15% or so
|
By
Chris Foster <chri...@...>
·
#270
·
|
|
Re: run flags vs active intervals
Now I've spent nearly a week doing the comprehensive changes that allows a compile-time switch to select whether we use runflags, explicit indices, or spans. (Most of that time fixing the subtle bugs
Now I've spent nearly a week doing the comprehensive changes that allows a compile-time switch to select whether we use runflags, explicit indices, or spans. (Most of that time fixing the subtle bugs
|
By
Larry Gritz <l...@...>
·
#268
·
|
|
Re: add spline op-code (issue207090)
Don't knock yourself out over varying basis (though if easy, please do), I was suggesting this only as a way to have a single image test show all the bases.
--
Larry Gritz
l...@...
Don't knock yourself out over varying basis (though if easy, please do), I was suggesting this only as a way to have a single image test show all the bases.
--
Larry Gritz
l...@...
|
By
Larry Gritz <l...@...>
·
#262
·
|
|
Re: add spline op-code (issue207090)
That would make the basis "varying", which the code currently doesn't
allow, but that can be changed. I'll make the change -- it shouldn't be
tough to
That would make the basis "varying", which the code currently doesn't
allow, but that can be changed. I'll make the change -- it shouldn't be
tough to
|
By
cliffo...@...
·
#267
·
|