Currently we select the GT backend in a driver-includes header. We hard-code the GridTools data_stores which can be passed to generated code. This affects all backends as the data_stores appear in the API of the generated code.
A possible solution would be to base the API of the generated code on the SID concept of GridTools which would allow to pass any multi-dimensional array to the generated code (by providing SID-adapters).
Currently we select the GT backend in a
driver-includes
header. We hard-code the GridTools data_stores which can be passed to generated code. This affects all backends as the data_stores appear in the API of the generated code.A possible solution would be to base the API of the generated code on the SID concept of GridTools which would allow to pass any multi-dimensional array to the generated code (by providing SID-adapters).