Skip to content

extents vs _extents #299

@prlw1

Description

@prlw1

When including linalg I see the following error:

In file included from /usr/src/local/stdBLAS/include/experimental/linalg:50,
                 from blas.cc:7:
/usr/src/local/stdBLAS/include/experimental/__p1673_bits/layout_blas_general.hpp: In member function 'constexpr Kokkos::Experimental::__p1673_version_0::linalg::__layout_blas_general_impl::__layout_blas_impl<BaseLayout, StaticLDA>& Kokkos::Experimental::__p1673_version_0::linalg::__layout_blas_general_impl::__layout_blas_impl<BaseLayout, StaticLDA>::operator=(const Kokkos::Experimental::__p1673_version_0::linalg::__layout_blas_general_impl::__layout_blas_impl<OtherExtents, OtherLDA>&)':
/usr/src/local/stdBLAS/include/experimental/__p1673_bits/layout_blas_general.hpp:133:11: error: 'class Kokkos::Experimental::__p1673_version_0::linalg::__layout_blas_general_impl::__layout_blas_impl<BaseLayout, StaticLDA>' has no member named '_extents'; did you mean 'extents'? [-Wtemplate-body]
  133 |     this->_extents = other.extents();
      |           ^~~~~~~~
      |           extents

Just in case, I commented out #define LINALG_ENABLE_BLAS in __p1673_bits/linalg_config.h, but no change...
(This is with HEAD mdspan and stdBLAS)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions