Skip to content

Commit

Permalink
gpu: jit: conv: tweak tile size heuristic for epilogue
Browse files Browse the repository at this point in the history
  • Loading branch information
echeresh committed Oct 10, 2022
1 parent f28b58a commit 4c9d46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpu/jit/conv/epilogue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ int find_tile_size(const hw_config_t &hw_cfg,
int total_size = c_size + po_size;
int available_size
= hw_cfg.regs() * hw_cfg.grf_size() - (int)c_reg_layout.size();
if (total_size <= available_size * 0.75) return tile_size;
if (total_size <= available_size * 0.7) return tile_size;
}
ir_error_not_expected();
return -1;
Expand Down

0 comments on commit 4c9d46a

Please sign in to comment.