Skip to content

Commit

Permalink
try to work around nvhpc bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed Oct 22, 2024
1 parent c841311 commit 1aa1f78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/stdexec/__detail/__meta.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ namespace stdexec {
enum class __muchar : unsigned char {
};

#if STDEXEC_MSVC()
#if STDEXEC_NVCC() || STDEXEC_NVHPC()
template <std::size_t _Np>
using __msize_t = std::integral_constant<std::size_t, _Np>;
#elif STDEXEC_MSVC()
template <std::size_t _Np>
using __msize_t = __mconstant<_Np>;
#else
Expand Down
1 change: 1 addition & 0 deletions test/stdexec/queries/test_forwarding_queries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <stdexec/execution.hpp>

STDEXEC_PRAGMA_IGNORE_GNU("-Wdeprecated-declarations")
STDEXEC_PRAGMA_IGNORE_EDG(deprecated_entity_with_custom_message)

namespace ex = stdexec;

Expand Down

0 comments on commit 1aa1f78

Please sign in to comment.