File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1963,8 +1963,8 @@ static void start_new_cluster(t_cluster_placement_stats* cluster_placement_stats
1963
1963
// support the same primitive(s).
1964
1964
std::stable_sort (candidate_types.begin (), candidate_types.end (),
1965
1965
[&](t_type_ptr lhs, t_type_ptr rhs) {
1966
- float lhs_util = vtr::safe_ratio (num_used_type_instances[lhs], device_ctx.grid .num_instances (lhs));
1967
- float rhs_util = vtr::safe_ratio (num_used_type_instances[rhs], device_ctx.grid .num_instances (rhs));
1966
+ float lhs_util = vtr::safe_ratio< float > (num_used_type_instances[lhs], device_ctx.grid .num_instances (lhs));
1967
+ float rhs_util = vtr::safe_ratio< float > (num_used_type_instances[rhs], device_ctx.grid .num_instances (rhs));
1968
1968
// Lower util first
1969
1969
return lhs_util < rhs_util;
1970
1970
});
You can’t perform that action at this time.
0 commit comments