-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance improvement to IndRNN (~20% on forward+backward).
This change consists of two optimizations: 1. Perform all pointwise operations in a single CUDA kernel (even across time steps). 2. Reduce memory accesses in the backward pass by accumulating sums in registers and writing back to global memory at the end of the kernel. The result is a ~20% speed improvement for a single training iteration that consists of a forward and backward pass. Issue: #7
- Loading branch information
Showing
2 changed files
with
119 additions
and
97 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