forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GPU] do not need to broadcast for eltwise post ops constant argument…
… in onednn gemm (openvinotoolkit#27671) ### Details: - observe huge perf drop with onednn binary-ops per tensor mode (e.g. per_tensor POLICY input or integer 15 input)): ![image](https://github.com/user-attachments/assets/1d71f89b-2ec5-4afa-8f2d-b349ce7f8a49) in this model, the argument of the binary is constant, but it has been broadcasted to match the gemm output tensor layout, yet it leads to huge perf drop - remove the unecessary broadcast for scalar argument which is later feed to onednn binary ops ### Tickets: - 152186 --------- Signed-off-by: fishbell <[email protected]>
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters