Pressio / pressio

core C++ library
Other
45 stars 7 forks source link

ops: kokkos: revise `extent` overload constraints #587

Closed mzuzek closed 1 year ago

mzuzek commented 1 year ago

refs #522

Overloads

Kokkos extent overloads:

function parameter types
extent(const T & objectIn, const IndexType i) Kokkos view or expression

Tests

Unit tests (in tests/functional_small/ops/):

file name test name tested type
ops_kokkos_vector.cc ops_kokkos.vector_extent Kokkos::View<double*>
ops_kokkos_diag.cc ops_kokkos.diag_extent pressio::diag( Kokkos::View<double**> )
ops_kokkos_span.cc ops_kokkos.span_extent pressio::span( Kokkos::View<double*> )
ops_kokkos_matrix.cc ops_kokkos.dense_matrix_extent Kokkos::View<double**>
ops_kokkos_subspan.cc ops_kokkos.subspan_extent pressio::subspan( Kokkos::View<double**> )