-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broadcast overloading regression #404
Comments
@N5N3 Any idea? Note that the illegal memory access is unrelated, and is fixed on 1.8-beta2. |
After #393. @inline function Base.materialize!(::Style, dest, bc::Broadcasted) where {Style<:AbstractGPUArrayStyle}
return _copyto!(dest, instantiate(Broadcasted{Style}(bc.f, bc.args, axes(dest))))
end Since Since comment said @inline function Base.materialize!(af::ArrayFuse, src::Broadcast.Broadcasted)
@. af.visible = af.p[1] * af.visible + af.p[2] * src
@. af.hidden = af.hidden + af.p[3] * af.visible
end should be a more simple fix? |
That looks good, thanks. |
The following is an MWE of broadcast overloading which worked before #393 .
The text was updated successfully, but these errors were encountered: