Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

API View

Daniel Arndt edited this page Feb 8, 2022 · 5 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.
  • view_alloc: Create View allocation parameter bundle from argument list.
  • deep_copy: Copying data between views and scalars.
  • 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.
  • LayoutLeft: Memory Layout matching Fortran
  • LayoutRight: Memory Layout matching C
  • LayoutStride: Memory Layout for arbitrary strides
Clone this wiki locally