inducer / pytato

Lazily evaluated arrays in Python
Other
8 stars 16 forks source link

Add a pass to identify constant `DataWrapper`s #419

Open inducer opened 1 year ago

inducer commented 1 year ago

To replace them with constants. As discussed with @kaushikcfd in https://github.com/inducer/meshmode/pull/367#discussion_r1094769512.

kaushikcfd commented 1 year ago

Similar to #295?

kaushikcfd commented 1 year ago

Similar to https://github.com/inducer/pytato/issues/295?

Aah no, that's not it. Constant Datawrappers != Constant folding, sorry for the confusion.