Skip to content

Commit 5bd8624

Browse files
committed
[vpr][base] remove unused param
1 parent 7a860a2 commit 5bd8624

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

vpr/src/analytical_place/analytical_placement_flow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ void run_analytical_placement_flow(t_vpr_setup& vpr_setup) {
191191

192192
// Print the number of resources in netlist and number of resources available in architecture
193193
float target_device_utilization = vpr_setup.PackerOpts.target_device_utilization;
194-
print_resource_usage(target_device_utilization);
194+
print_resource_usage();
195195
// Print the device utilization
196196
print_device_utilization(target_device_utilization);
197197

vpr/src/base/stats.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ float calculate_device_utilization(const DeviceGrid& grid, const std::map<t_logi
502502
return utilization;
503503
}
504504

505-
void print_resource_usage(const float target_device_utilization) {
505+
void print_resource_usage() {
506506
auto& device_ctx = g_vpr_ctx.device();
507507
const auto& clb_netlist = g_vpr_ctx.clustering().clb_nlist;
508508
std::map<t_logical_block_type_ptr, size_t> num_type_instances;

vpr/src/base/stats.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <limits>
44
#include <algorithm>
55
#include "vpr_types.h"
6+
#include "netlist.h"
67

78
void routing_stats(const Netlist<>& net_list,
89
bool full_stats,
@@ -33,9 +34,8 @@ float calculate_device_utilization(const DeviceGrid& grid, const std::map<t_logi
3334

3435
/**
3536
* @brief Prints the number of resources in the netlist and the number of available resources in the architecture.
36-
* @param target_device_utilization The target device utilization set by the user
3737
*/
38-
void print_resource_usage(const float target_device_utilization);
38+
void print_resource_usage();
3939

4040
/**
4141
* @brief Prints the device utilization

vpr/src/base/vpr_api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ bool vpr_flow(t_vpr_setup& vpr_setup, t_arch& arch) {
388388
if (vpr_setup.PackerOpts.doPacking != STAGE_SKIP) {
389389
float target_device_utilization = vpr_setup.PackerOpts.target_device_utilization;
390390
// Print the number of resources in netlist and number of resources available in architecture
391-
print_resource_usage(target_device_utilization);
391+
print_resource_usage();
392392
// Print the device utilization
393393
print_device_utilization(target_device_utilization);
394394
}

0 commit comments

Comments
 (0)