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.
Add early exit to sparse_segment_sum_csr_cuda op (pytorch#2277)
Summary: Pull Request resolved: pytorch#2277 Add early exit to sparse_segment_sum_csr_cuda op in case of empty input. Add check for invalid input size. Reviewed By: sryap, jasonjk-park Differential Revision: D52963209 fbshipit-source-id: bec0192793e9be49018d47a751aae1dcf0ac8425
- Loading branch information
1 parent
aabb4ae
commit dad9720
Showing
2 changed files
with
25 additions
and
0 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