Open cwschilly opened 1 year ago
After analysis. The following tasks have to be done in order to match the new Adapters API
Kokkos::View<gno_t *, device_t> kGids_;
Kokkos::View<scalar_t **, device_t> kXyz_;
Kokkos::View<scalar_t **, device_t> kWeights_;
// Host case
typename Adapter::ConstIdsHostView kgids;
ia->getIDsHostView(kgids);
// getCoordinatesHostView, getWeightsHostView
// Device case
typename Adapter::ConstIdsDeviceView kgids;
ia->getIDsDeviceView(kgids);
// getCoordinatesDeviceView, getWeightsDeviceView
Coordinates model accepts MatrixAdapter, VectorAdapter, MeshAdapter, GraphAdapter but no IdentifierAdapter