Commit 95230e2
Support larger lookup in permute (#5086)
Summary:
Pull Request resolved: #5086
X-link: https://github.com/facebookresearch/FBGEMM/pull/2094
For lengths per shard exceeding 2^31, we avoid overflow resulting in undefined behavior.
Reviewed By: spcyppt
Differential Revision: D86209662
fbshipit-source-id: 6d51290f3436629571677091c42b76b6f98e57901 parent cfe8683 commit 95230e2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments