Skip to content

Conversation

lums658
Copy link

@lums658 lums658 commented Dec 7, 2021

This was to get compilation and installation working with g++-11 on MacOS. Added a few "typename" here and there in a couple of files. Also changed "cmake" to lib/cmake/stdBLAS for installing the stdBLAS cmake file(s).

I note that compilation is only possible with -std=c++20 now -- many uses of concepts and requires clauses throughout.

@mhoemmen mhoemmen self-requested a review December 8, 2021 02:55
Copy link
Contributor

@mhoemmen mhoemmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for the fixes! : - ) There's just one small thing; please see comment.

#include "maybe_static_size.hpp"
#include "layout_tags.hpp"

#include <experimental/__p0009_bits/macros.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The P1673 implementation shouldn't be depending on P0009 implementation details. Would you consider instead just including the main mdspan header, <experimental/mdspan>? Thanks!

FILE linalgTargets.cmake
NAMESPACE std::
DESTINATION cmake
DESTINATION lib/cmake/stdBLAS
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be lib/cmake/<ProjectName> so stdBLAS -> linalg?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yes, that's right, thanks for the catch!

@mhoemmen
Copy link
Contributor

mhoemmen commented Dec 8, 2021

@lums658 I'm a bit occupied today, but if you're too busy to push the requested changes, would you mind if we did it? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants