-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix csr_accessor crash when moving data from USM or host memory to ho…
…st memory (#2662) The implementation of copy_all2all backend function was changed: copy(...) was replaces with memcpy(...) that copies exactly the requested number of bytes. In the previous implementation the copy(...) function was multiplying the requested number of bytes to the type size which produces the wrong size of the copied array. csr_accessor test was extended to cover the cases that were failing previously.
- Loading branch information
Showing
2 changed files
with
9 additions
and
11 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