Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions include/RAJA/policy/sequential/launch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ struct LaunchExecute<RAJA::seq_launch_t>
BODY const& body,
ReduceParams& launch_reducers)
{
using EXEC_POL = RAJA::seq_exec;
EXEC_POL pol {};
constexpr bool is_parampack_empty =
RAJA::expt::type_traits::is_ForallParamPack_empty<ReduceParams>::value;
if constexpr (!is_parampack_empty)
{
using EXEC_POL = RAJA::seq_exec;
EXEC_POL pol {};
expt::ParamMultiplexer::parampack_init(pol, launch_reducers);
}

Expand All @@ -76,6 +76,8 @@ struct LaunchExecute<RAJA::seq_launch_t>
ctx.shared_mem_ptr = nullptr;
if constexpr (!is_parampack_empty)
{
using EXEC_POL = RAJA::seq_exec;
EXEC_POL pol {};
expt::ParamMultiplexer::parampack_resolve(pol, launch_reducers);
}

Expand Down