Lines Matching refs:h_maps
95 P4estVertexMaps h_maps; /* host container */
104 h_maps.num_elements = maps[grid].num_elements;
105 h_maps.num_face = maps[grid].num_face;
106 h_maps.num_reduced = maps[grid].num_reduced;
107 h_maps.deviceType = maps[grid].deviceType;
108 h_maps.numgrids = maps[grid].numgrids;
109 h_maps.Nf = Nf[grid];
110 h_maps.c_maps = (pointInterpolationP4est(*)[LANDAU_MAX_Q_FACE])d_points->data();
112 h_maps.gIdx = (LandauIdx(*)[LANDAU_MAX_SPECIES][LANDAU_MAX_NQND])d_gidx->data();
115 Kokkos::View<P4estVertexMaps, Kokkos::HostSpace> h_maps_k(&h_maps);
458 P4estVertexMaps *h_maps = NULL;
459 PetscCall(PetscContainerGetPointer(container, &h_maps));
461 PetscCheck(h_maps[grid].d_self, PETSC_COMM_SELF, PETSC_ERR_PLIB, "GPU assembly but no metadata in container");
462 maps[grid] = h_maps[grid].d_self;
463 nfaces = h_maps[grid].num_face; // nface=0 for CPU assembly