forked from pytorch/FBGEMM
-
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.
extract kernel for easier debugging (pytorch#587)
Summary: Pull Request resolved: pytorch#587 If we have an exception from the code inside AT_DISPATCH_... we can't see which line the exception is from. If we extract the code as a separate function, we can see the exact line making easier to debug Reviewed By: jianyuh Differential Revision: D27556686 fbshipit-source-id: cc722a470141d9254939b6f06bf79798bc64b69b
- Loading branch information
1 parent
228cbac
commit 62c7209
Showing
3 changed files
with
307 additions
and
184 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
Oops, something went wrong.