Skip to content

Commit

Permalink
Forward keyT in make_tt overload
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Dec 20, 2023
1 parent ed055fb commit 0c7d291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttg/ttg/make_tt.h
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ auto make_tt(funcT &&func, const std::tuple<ttg::Edge<keyT, input_edge_valuesT>.
const std::tuple<output_edgesT...> &outedges = std::tuple<>{}, const std::string &name = "wrapper",
const std::vector<std::string> &innames = std::vector<std::string>(sizeof...(input_edge_valuesT), "input"),
const std::vector<std::string> &outnames = std::vector<std::string>(sizeof...(output_edgesT), "output")) {
return make_tt<ttg::ExecutionSpace::Host>(std::forward<funcT>(func), inedges, outedges, name, innames, outnames);
return make_tt<ttg::ExecutionSpace::Host, keyT>(std::forward<funcT>(func), inedges, outedges, name, innames, outnames);
}

template <typename keyT, typename funcT, typename... input_valuesT, typename... output_edgesT>
Expand Down

0 comments on commit 0c7d291

Please sign in to comment.