-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Iter2: store my output on the same device as the first input
In order for Iter2 to be usable with a GPU, you needed to do Iter2::new(...).to_device(vs.device()).shuffle() Now with this patch, the to_device is not necessary, which is consistent with my expectations. However, it has virtually no performance difference, positive or negative.
- Loading branch information
Charles Samuels
committed
Dec 22, 2022
1 parent
23db431
commit 908dcc2
Showing
2 changed files
with
5 additions
and
1 deletion.
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