Skip to content
Snippets Groups Projects

Simplify access functions to the number of items

  1. Mar 14, 2022
  2. Mar 11, 2022
  3. Mar 10, 2022
  4. Mar 09, 2022
  5. Mar 08, 2022
    • Stéphane Del Pino's avatar
      Get ride of Kokkos::StaticCrsGraph (Fixes #22) in ConnectivityMatrix · c355bd93
      Stéphane Del Pino authored
      Also change the semantic/implementation of sub-Array and sub-Table
      views. One does not use anymore Kokkos' subView which seems to be very
      expensive (2 to 3 times the cost for the Lagrangian acoustic solver if
      one uses subView for connectivity: lists of sub-items). It looks like
      the over cost is related to the memory management (here the reference
      counting).
      
      Sub-Array and sub-Table view are coarsely "embedded raw
      pointers" (which may not be safe as it is the case in
      Kokkos::StaticCrsGraph). However we tried to reduce the risk of having
      a view on a destroyed Array/Table by forbidding copy constructors.
      
      ConnectivityMatrix and ItemToItemMatrix still require refactoring. For
      instance it would be natural for ItemToItemMatrix  to be replaced by
      the appropriate SubItemValuePerValue<ItemId>.
      c355bd93
  6. Mar 04, 2022
  7. Mar 02, 2022
  8. Mar 01, 2022
Loading