Open hiker opened 3 months ago
I believe that it is best to keep the stencil metadata - it makes it explicit to everyone what is going on. However, I do really like the idea of being able to verify it. (As an aside, we should make it possible to disable such verification as there are times when I've found it useful that PSyclone doesn't check things - it lets us try things out.)
Now that we have the ability to parse code (including kernels), we should re-evaluate the need to declare stencial accesses in the meta-data, since we might be able to determine the actual stencil based on the code.
Complications:
etc.
The same could also be done for LFRic, though due to the indirect addressing that might be impossible to do statically.
Potential outcomes: