Skip to content

Commit

Permalink
#18064: Workaround for multiple matmul hangs:
Browse files Browse the repository at this point in the history
- Guard CSRRS by disabling branch prediction
- Add a compiler flag which makes the SFPI compiler
not to use replay buffers
  • Loading branch information
ncvetkovicTT committed Feb 26, 2025
1 parent 3c2659f commit cf920b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tt_metal/jit_build/build.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ JitBuildCompute::JitBuildCompute(const JitBuildEnv& env, const JitBuiltStateConf
JitBuildState(env, build_config) {
TT_ASSERT(this->core_id_ >= 0 && this->core_id_ < 3, "Invalid compute processor");
this->lflags_ = env.lflags_;
this->cflags_ = env.cflags_;
this->cflags_ = env.cflags_ + " -fno-rvtt-sfpu-replay ";
this->default_compile_opt_level_ = "O3";
this->default_linker_opt_level_ = "O3";
this->out_path_ = this->is_fw_ ? env_.out_firmware_root_ : env_.out_kernel_root_;
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/third_party/tt_llk

0 comments on commit cf920b5

Please sign in to comment.