Intrepid: Remove calls to deprecated Kokkos::View methods
Created by: mhoemmen
Kokkos will soon deprecate the following Kokkos::View
methods:
-
ptr_on_device()
: replace withdata()
-
dimension(N)
(for N = 0, 1, 2, ..., 7): replace withextent(N)
-
dimension_N()
(for N = 0, 1, 2, ..., 7): replace withextent(N)
-
is_contiguous()
: replace withspan_is_contiguous()
-
capacity()
: replace withspan()
Sierra is already seeing build errors with its Trilinos integration build, since Sierra doesn't define KOKKOS_ENABLE_DEPRECATED_CODE
. If that macro is not defined, code that uses the above methods will not build.
@trilinos/intrepid @trilinos/intrepid2 @prwolfe @rrdrake