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.
[CPU] optimize TensorIterator DynamicBuffer (openvinotoolkit#15163)
* optimize TensorIterator DynamicBuffer by preallocating a large chunk of intermediate buffer. code clean. review update: always copy in transfer as it is not worthy. review update: update mem_holder_buffer as dnnl::memory instead of shared_ptr of it. review update: reuse mem_buffer_holder even if the shape changes. review update: growth factor. review update: bug fix. * fix code style * review update: rewrite the dynamic buffer using the cpu Memory class, instead of dnnl::memory * Update src/plugins/intel_cpu/src/nodes/tensoriterator.cpp Co-authored-by: Maksim Kutakov <[email protected]> * Update src/plugins/intel_cpu/src/nodes/tensoriterator.cpp Co-authored-by: Maksim Kutakov <[email protected]> * review update: minor fix --------- Co-authored-by: Maksim Kutakov <[email protected]>
- Loading branch information
1 parent
8153664
commit 86b5004
Showing
2 changed files
with
119 additions
and
64 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