Open mhoemmen opened 1 year ago
Hmm... stdex::mdspan
shouldn't compile, we might have a stray using declaration somewhere. All of the stuff merged into the standard should be under std::
or, better yet, Kokkos::
(include <mdspan/mdspan.hpp>
for that namespace).
dextents
is not available in thestd::experimental
namespace (by default), even thoughmdspan
and other mdspan components are. Instead,dextents
can only be found in thestd
namespace by default.Here is an example.
One of my colleagues verified today that the problem exists in the headers, not just in the generated godbolt single header. The following code in the example
suggests what I think is the problem, namely that
extents.hpp
doesn't appear to importextents
into thestd
namespace.