-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wgsl: Speed up
ldexp
execution tests (#3101)
Reduces thh number of cases by using sparse instead of full ranges, since there is going to be a cartesian product of input values when generating cases. Optimizes two quantization functions that had not been updated to re-used their TypedArray. Creation and then immediate destruction of TypedArrays are a type of hotspot we have encountered in other areas of the code base.
- Loading branch information
Showing
2 changed files
with
17 additions
and
10 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