Skip to content

Commit

Permalink
Use number of specified thread for the compilation (#2978)
Browse files Browse the repository at this point in the history
  • Loading branch information
umangyadav authored and Ted Themistokleous committed Apr 25, 2024
1 parent e5432cb commit d41c3cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/migraphx/par_for.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ void par_for(std::size_t n, F f)
}

template <class F>
void par_for(std::size_t n, std::size_t, F f)
void par_for(std::size_t n, std::size_t min_grain, F f)
{
par_for(n, f);
simple_par_for(n, min_grain, f);
}

} // namespace MIGRAPHX_INLINE_NS
Expand Down

0 comments on commit d41c3cf

Please sign in to comment.