Skip to content

Commit

Permalink
Remove constexpr from thread_pool_scheduler bulk get_env specialization
Browse files Browse the repository at this point in the history
nvc++ is not able to compile the function using constexpr. Since get_env isn't typically required at
constexpr-time, simply remove the constexpr.
  • Loading branch information
msimberg committed May 6, 2024
1 parent 014f808 commit c27b4f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ namespace pika::thread_pool_bulk_detail {
s.scheduler, s.sender, s.shape, s.f, PIKA_FORWARD(Receiver, receiver)};
}

friend constexpr auto tag_invoke(
friend auto tag_invoke(
pika::execution::experimental::get_env_t, thread_pool_bulk_sender const& s) noexcept
{
return pika::execution::experimental::get_env(s.sender);
Expand Down

0 comments on commit c27b4f6

Please sign in to comment.