Enzyme-JAX icon indicating copy to clipboard operation
Enzyme-JAX copied to clipboard

Padding remains in baroclinic model

Open wsmoses opened this issue 7 months ago • 2 comments

x/ref: https://gist.github.com/wsmoses/407f41384c12cfdcd7c0a370be54d9d8

created via https://github.com/PRONTOLab/GB-25/pull/151 which sets the inner grid size to be nice numbers like 256x256x128

However the padding isn't removed fully for the inner ops, and the non 256 multiple indices lead to quite bad perf so we need to try to engineer around:

Image

wsmoses avatar Apr 04 '25 14:04 wsmoses