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 SSDScratchPadIndicesQueue lookup in frontend (pytorch#2948)
Summary: Pull Request resolved: pytorch#2948 X-link: facebookresearch/FBGEMM#50 This diff updates SSD-TBE frontend to use `torch.classes.fbgemm.SSDScratchPadIndicesQueue` for scratch pad lookup (added in D60363607). `SSDScratchPadIndicesQueue` is for storing scratch pad indices (conflict missed indices) from previous iterations. It is used during the L1 cache prefetching step: instead of fetching the missing indices directly from SSD, TBE will lookup the scatch pad index queue first to check whether the missing data is in the scratch pad from the previous iteration. The high-level workflow of the prefetch step in SSD-TBE is shown in the figure below: {F1795380801} https://internalfb.com/excalidraw/EX264055 Reviewed By: ehsanardestani Differential Revision: D60413116 fbshipit-source-id: 95be2f372e7ee5270288ed7f6a643350969b67d6
- Loading branch information
1 parent
9f17b23
commit 4ae45b7
Showing
1 changed file
with
107 additions
and
20 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