forked from kokkos/kokkos
-
Notifications
You must be signed in to change notification settings - Fork 0
API View
JBludau edited this page Sep 1, 2022
·
1 revision
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 aKokkos::View. -
realloc: Reallocating aKokkos::View. -
resize: Resizinc aKokkos::View. -
create_mirror: Creating a copy of aKokkos::Viewin a different memory space. -
create_mirror_view: Creating a copy of aKokkos::Viewin 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