Open cwschilly opened 1 year ago
@stmcgovern I have analyzed a bit this task through the CoordinateModel https://github.com/NexGenAnalytics/Trilinos/issues/34#issuecomment-1648005600
It seems that as for adapter, new kokkos compatible variables members have to be defined into the different Models and filled correctly through the different sharedConstructor private methods In addition, some couples of different method have to be updated too. It is also important to check the virtual one coming from the Model parent class (getLocalNumObjects, getGlobalNumObjects) even, it they don't seem to be difficult to update. One important issue is to define how we can dupplicate/generalize the sharedConstructor code in order to know if we should call the host method of the device one of the inner adapter. This point needs to be analyzed/validated by the team ASAP before starting any modification on the models.
Overarching issue regarding Kokkos-ification of all Models