<cuda/std/span>#
2026-10-01
2 min read time
Applies to Linux and Windows
This page documents cuda::std::span in libhipcxx, a non-owning view over a contiguous sequence of objects with full constexpr support from C++14 onwards.
Extensions#
All features of
<span>are made available in C++14 onwards.All features of
<span>are made constexpr in C++14 onwards.
Restrictions#
On device no exceptions are thrown in case of a bad access.
The range-based constructors are emulated but not 100% equivalent.