Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use broadcast expressions instead of some loops.
- Loading branch information
Showing
2 changed files
with
8 additions
and
17 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
@maleadt ref JuliaLang/METADATA.jl#17515 (comment), also
x[chunk]
will allocate for normal arrays, yeah?Is there an easy way we could revert/alter this but still preserve the goal of #351 to make this code CuArray-compatible?
Sorry, this is something I should've caught in the original review of the PR 😛