Commit 0702b5f
Partially parallelize randperm on CPU. (#21529)
Summary:
This commit parallelizes the variable initialization (from 1 to n) step on CPU.
Pull Request resolved: #21529
Differential Revision: D15855402
Pulled By: VitalyFedyunin
fbshipit-source-id: f1ba54587451f9cb0eb5e542c3c5b458b48e1a3d1 parent e388f70 commit 0702b5f
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | | - | |
448 | | - | |
449 | | - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
450 | 452 | | |
451 | 453 | | |
452 | 454 | | |
| |||
0 commit comments