|
Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website |
Common debugging helpers. More...
#include <iostream>#include <vector>#include <iomanip>#include <Kokkos_Core.hpp>Go to the source code of this file.
Functions | |
| template<typename T > | |
| void | print_view_recursive (const T *data, const std::vector< size_t > &extents, std::ostream &os, std::vector< size_t > &indices, size_t dim, const std::vector< size_t > &strides) |
| template<typename ViewType > | |
| void | print_view (const ViewType &view, std::ostream &os=std::cout) |
Common debugging helpers.
| void print_view | ( | const ViewType & | view, |
| std::ostream & | os = std::cout |
||
| ) |
| void print_view_recursive | ( | const T * | data, |
| const std::vector< size_t > & | extents, | ||
| std::ostream & | os, | ||
| std::vector< size_t > & | indices, | ||
| size_t | dim, | ||
| const std::vector< size_t > & | strides | ||
| ) |