-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
There are some instances where BLAS calls can be replaced by broadcasting.
In CG and Chebyshev iteration there is an axpby which is currently written as scale and axpy (since axpby is not part of Julia 0.6). This looks wasteful:
scale!(cheb.u, β)
@blas! cheb.u += one(T) * cheb.ccould be replaced by
@. cheb.u = cheb.c + β * cheb.uIs there any reason not to do this? And while we're at it, can't we replace axpy's with broadcasting in general?
cc'ing @andreasnoack because we probably discussed this earlier.
ChrisRackauckas and YingboMa
Metadata
Metadata
Assignees
Labels
No labels