cuda::experimental::stf::mdspan_to_vtk
Defined in include/cuda/experimental/__stf/utility/pretty_print.cuh
-
template<typename mdspan_like>
void cuda::experimental::stf::mdspan_to_vtk(mdspan_like s, const ::std::string &filename) Writes an
mdspan
to a VTK file.This function writes an
mdspan
to a VTK file, which is useful for visualization and debugging.- Template Parameters
P – The template parameter pack for mdspan
- Parameters
s – The input mdspan to be written
filename – The output file name where the VTK data will be written