Skip to content

quxflux/mdspan_testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdspan_testing

A small test project to explore the std::mdspan C++ library feature coming up with C++23.

notes

As there is no std::mdspan implementation available in the major std library implementations at the time of this writing, this project uses the kokkos mdspan reference implementation.

implemented examples

1. image_ops (src/image_ops)

Reads in a gray scale image, applies a box filter and writes the filtered image to disk.

mdspan is hereby being used to access the individual pixels of an image. Different layout_policies are being used to control the behavior of the filter near the borders transparently (clamp, wrap around or reflect).

2. mmap_accessor (src/mmap_accessor)

Writes a 2d mdspan to a file on disk and creates a mdspan instance backed by a memory mapped variant of the previously written file.

Acknowledgements

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks