make LoopKernel.__init__ leaner - #293
Conversation
081b466 to
6da6a2bCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
inducer
commented
Apr 26, 2021
@kaushikcfd I feel like we formed a consensus around this in our meeting Tuesday, but I forgot what it was. Was it to do all this input processing centrally in |
kaushikcfd
commented
Apr 26, 2021
Yep, that was it. One method to take care of all the dependencies. |
- move domain checks out of it - trigger domain checks in copy iff it was passed as an input
41d0591 to
0463041Compare
inducer
left a comment
There was a problem hiding this comment.
Thanks! A few minor things noted below, then this LGTM.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
inducer
commented
Jun 10, 2021
Unsubscribing... @-mention or request review once it's ready for a look or needs attention. |
@inducer: Thanks for taking a look, I believe this branch is ready. |
Uh oh!
There was an error while loading. Please reload this page.
inducer
commented
Jun 10, 2021
LGTM. Thanks! |
This is done by adding attribute-specific copies so that heavy operations in LoopKernel.init are invoked only when necessary.