kokkos/stdBLAS

Build fails on clang-13 Mac

Closed this issue · 1 comments

~/stdBLAS/include/experimental/__p1673_bits/linalg_execpolicy_mapper.hpp:15:48: error: expected class name
template<class T> struct is_inline_exec : std::false_type{};
                                               ^
~/stdBLAS/include/experimental/__p1673_bits/linalg_execpolicy_mapper.hpp:16:56: error: expected class name
template<> struct is_inline_exec<inline_exec_t> : std::true_type{};
                                                       ^
2 errors generated.
ninja: build stopped: subcommand failed.

Fix is:

diff --git a/include/experimental/__p1673_bits/linalg_execpolicy_mapper.hpp b/include/experimental/__p1673_bits/linalg_execpolicy_mapper.hpp
index 22efcb3..7dd465c 100644
--- a/include/experimental/__p1673_bits/linalg_execpolicy_mapper.hpp
+++ b/include/experimental/__p1673_bits/linalg_execpolicy_mapper.hpp
@@ -1,4 +1,5 @@
 #include<execution>
+#include<type_traits>
 namespace std {
 namespace experimental {
 inline namespace __p1673_version_0 {

Thanks for reporting! That would be the fix, yes : - ) I'll post a PR. Please feel free to submit PRs if you like!