reformat code

This commit is contained in:
Lin 2024-10-08 18:05:33 +08:00
parent 9131e74353
commit 03ccfa1b6c
1 changed files with 1 additions and 2 deletions

View File

@ -211,8 +211,7 @@ int write_bin_atom_block(const std::vector<vtr::Point<size_t>>& instance_map,
int write_bin_unique_blocks(const DeviceRRGSB& device_rr_gsb, const char* fname, int write_bin_unique_blocks(const DeviceRRGSB& device_rr_gsb, const char* fname,
bool verbose_output) { bool verbose_output) {
::capnp::MallocMessageBuilder builder; ::capnp::MallocMessageBuilder builder;
auto unique_blocks = auto unique_blocks = builder.initRoot<uniqueblockcap::UniqueBlocks>();
builder.initRoot<uniqueblockcap::UniqueBlocks>();
int num_unique_blocks = device_rr_gsb.get_num_sb_unique_module() + int num_unique_blocks = device_rr_gsb.get_num_sb_unique_module() +
device_rr_gsb.get_num_cb_unique_module(CHANX) + device_rr_gsb.get_num_cb_unique_module(CHANX) +
device_rr_gsb.get_num_cb_unique_module(CHANY); device_rr_gsb.get_num_cb_unique_module(CHANY);