-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor grad output non-contiguous handler (#1215)
Summary: Pull Request resolved: #1215 This is a follow-up on D37951520 (5a15342) - Minor clean-up and refactoring for non-contiguous grad output: avoid do .contiguous and clone twice when alignment is not multiple of 16. - Add more comments. - Add unit test coverage TODO: add the 16 alignment unit test coverage. Reviewed By: brad-mengchi Differential Revision: D37988742 fbshipit-source-id: ce8b7f9658c9e6229d67b420212bb3d55daea8c8
- Loading branch information
1 parent
51ea00e
commit 308dd51
Showing
3 changed files
with
20 additions
and
16 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