Skip to content

Commit

Permalink
#276: pipe: add returns to make nvcc pass
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Jun 13, 2023
1 parent 8a7366c commit baac2fa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/vt/pipe/pipe_manager_tl.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ auto PipeManagerTL::makeCallbackProxy(ProxyT proxy) {
};
}
}

// unnecessary, but to make nvcc happy
return RetType{};
}

template <auto f, bool is_bcast>
Expand All @@ -245,6 +248,9 @@ auto PipeManagerTL::makeCallbackSingle(NodeType node) {
} else {
return RetType{callback::cbunion::RawSendMsgTag, new_pipe_id, han, node};
}

// unnecessary, but to make nvcc happy
return RetType{};
}

template <typename FunctorT, bool is_bcast>
Expand All @@ -269,6 +275,8 @@ auto PipeManagerTL::makeCallbackFunctor(NodeType node) {
return RetType{callback::cbunion::RawSendMsgTag, new_pipe_id, han, node};
}

// unnecessary, but to make nvcc happy
return RetType{};
}

inline auto PipeManagerTL::makeCallbackSingleAnonVoid(LifetimeEnum life, FuncVoidType fn) {
Expand Down

0 comments on commit baac2fa

Please sign in to comment.