Skip to content

Commit

Permalink
Update eth kernel hash to include processor
Browse files Browse the repository at this point in the history
  • Loading branch information
abhullar-tt committed Dec 23, 2024
1 parent 062c088 commit 8460546
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tt_metal/impl/kernels/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,10 @@ std::string DataMovementKernel::config_hash() const {

// Add "eth_" to the hash to differentiate between erisc and brisc.
std::string EthernetKernel::config_hash() const {
return fmt::format("eth_{}_{}", magic_enum::enum_name(this->config_.noc), this->config_.eth_mode);
return fmt::format("eth_{}_{}_{}",
magic_enum::enum_name(this->config_.noc),
this->config_.eth_mode,
this->config_.processor);
}

std::string ComputeKernel::config_hash() const {
Expand Down

0 comments on commit 8460546

Please sign in to comment.