Open goord opened 3 years ago
Regarding the kernels, the quickest way would be to wrap all kernel launches in C-functions, with void**
argument type for any array, which can be called from Fortran.
The memory is more tricky:
For sustainability, it will be useful to setup a 'mirroring' administration connecting CPU-arrays with their GPU equivalent
The memory solution above does not take into account automatic allocations inside subroutines in the Fortran code. If we want to replace those with our pool allocations, more changes need to be made to the Fortran code.
In this issue we can discuss a strategy to insert our tuned kernels into the rte-rrtmgp original source code.