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 3, 2024
1 parent ac5c25e commit 34fc134
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 @@ -170,7 +170,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 34fc134

Please sign in to comment.