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.
allow all uvm table placement in split_table_batched_embeddings_bench…
…mark (pytorch#594) Summary: Pull Request resolved: pytorch#594 Although the UVM benchmark path allows T_uvm to be equal to T, the benchmark crashes when this occurs as the code always expects T_gpu > 0. This diff places the non-uvm allocated portions of benchmark behind a T_gpu > 0 check, enabling the benchmarking of the T_uvm == T case. Reviewed By: jianyuh Differential Revision: D27856247 fbshipit-source-id: e4012004c3540fc89fa4eb2fd08e2cc550b79f5e
- Loading branch information
1 parent
625201f
commit 698c2dc
Showing
1 changed file
with
97 additions
and
89 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