Skip to content

API View

crtrott edited this page Aug 16, 2019 · 4 revisions

Data management is a critical part of any program. The main facility in Kokkos is the Kokkos::View. The following facilities are available:

  • View: The main Kokkos data structure, a multi dimensional memory space and layout aware array.
  • subview: Getting slices from a Kokkos::View.
  • realloc: Reallocating a Kokkos::View.
  • resize: Resizinc a Kokkos::View.
  • create_mirror: Creating a copy of a Kokkos::View in a different memory space.
  • create_mirror_view: Creating a copy of a Kokkos::View in a different memory space, if the original view is not accessible in that space.

Clone this wiki locally