-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, the `@isdefined` conditionals prevented julia from inferring the type of these methods at compile time. With this change broadcast operations in CUDA.jl like `C .- a'` can now be fully inferred which was previously impossible because the BroadcastStyle (which uses ndims internally) could not be decided at compile time.
- Loading branch information
1 parent
1edd29c
commit 1b99b81
Showing
2 changed files
with
29 additions
and
16 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