Skip to content

File data_view.hpp

FileList > common > src > data_view.hpp

Go to the source code of this file

Non-owning view abstraction for zero-copy data access. More...

  • #include <cstddef>
  • #include <vector>

Namespaces

Type Name
namespace emulator

Classes

Type Name
class DataView <typename T>
Non-owning view over contiguous data.

Detailed Description

Provides a lightweight, non-owning view over contiguous data that can wrap raw pointers, std::vector, or (in the future) Kokkos views without copying data.


The documentation for this class was generated from the following file components/emulator_comps/common/src/data_view.hpp