Skip to content

Commit

Permalink
#9044: Make all cqs use NOC 0 again. Cached cmds have noc encoding em…
Browse files Browse the repository at this point in the history
…bedded inside, and we longer see a noticeable perf difference between having cq 1 use noc 1 for Resnet
  • Loading branch information
tt-aho committed Jun 27, 2024
1 parent 36566ba commit 95218bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tt_metal/impl/device/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ void Device::initialize_command_queue() {
this->sysmem_manager_ = std::make_unique<SystemMemoryManager>(this->id_, this->num_hw_cqs());
hw_command_queues_.resize(num_hw_cqs());
for (size_t cq_id = 0; cq_id < num_hw_cqs(); cq_id++) {
hw_command_queues_[cq_id] = std::make_unique<HWCommandQueue>(this, cq_id, static_cast<NOC>(cq_id));
hw_command_queues_[cq_id] = std::make_unique<HWCommandQueue>(this, cq_id, NOC::NOC_0);
// Need to do this since CommandQueue constructor is private
sw_command_queues_.push_back(std::unique_ptr<CommandQueue>(new CommandQueue(this, cq_id)));
}
Expand Down

0 comments on commit 95218bb

Please sign in to comment.