As the views are represented as python objects when handled in python, it would be good to know the c++ type that they can be cast into, e.g. using the .cast<Kokkos::View...>() functionality.
If another library wants to write their own python bindings, they can use the explicit cast without having to figure out which c++ type the view they got passed as a python object is.
As the views are represented as python objects when handled in python, it would be good to know the c++ type that they can be cast into, e.g. using the
.cast<Kokkos::View...>()
functionality. If another library wants to write their own python bindings, they can use the explicit cast without having to figure out which c++ type the view they got passed as a python object is.