-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add asymmetric shapes to test sum Triton kernels (#2310)
Summary: Pull Request resolved: #2310 Add asymmetric shapes to `get_input_iter()` in order to test accuracy and performance of `sum` Triton kernel implementations against PyTorch. This diff generates tensors with dimensions of different sizes. For example, a 2D asymmetric tensor would have shape `(n, n + 3)`; a 3D asymmetric tensor would have shape `(n, n + 3, n + 6)`. Reviewed By: jbschlosser Differential Revision: D58509022 fbshipit-source-id: 98e0eacbef6f1cdd09ebc8289582a2eb70118506
- Loading branch information
1 parent
abed1e7
commit bbeba0a
Showing
1 changed file
with
16 additions
and
7 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