-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DIPU] Replace the default (memCopyAsync + Sync) strategy with (Sync …
…+ memCopySync) for direct memory copy on Ascend (#730) * replace the default (memCopyAsync + Sync) strategy with (Sync + memCopySync) for direct memory copy on Ascend * update _local_scalar_dense_dipu to use (Sync + memCopySync) strategy for Ascend * refactor memCopy in DIPUCopy.hpp
- Loading branch information
Showing
4 changed files
with
108 additions
and
40 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
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