-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hash collisions among data points when using timing_characterizat…
…ion_client; fix #1525 Currently, there is a hash collision of two kArrayIndex data points when running timing_characterization_client. This caused by the fact that the timing client relies on hashing the op to map a sample to its result, and the hash function did not take into account the element count of every operand. So, if there are two data points that only differ in element counts, the data point of only one of the two samples will be recorded in the output. This change fixes the problem by adding element counts part of the hash. PiperOrigin-RevId: 671152475
- Loading branch information
1 parent
21e4479
commit 72048d6
Showing
2 changed files
with
132 additions
and
33 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