-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VM] Memory alignment check for
set_input
in Virtual Machine (#11391)
* add memory alignment check * add accounting of byte_offset * transfer NDArray generation method to NDArray class instead of VM * describe conditions. check IsContiguous for external DLTensor * hide safeless method in private * fix lint * fix lint * check conditions for correct creation of NDArray from external DLTensor * lint fix * update API after review * empty commit. restart CI tests * empty commit. restart CI tests once more Co-authored-by: Valery Chernov <valery.chernov@deelvin.com>
- Loading branch information
1 parent
aaee8aa
commit 2a2d910
Showing
3 changed files
with
42 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
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