Reputation: 43457
I want to perform a string of matrix multiplies, and would prefer not allocate a fresh matrix if I can avoid it. For example, I want to compute C = C * B (so I pass in C as A
and C
)
Can I do this (due to dgemm
having marked both A
and B
as in
variables)?
Upvotes: 5
Views: 1550
Reputation: 7432
No, you can never do this and it has nothing to do with the BLAS implementation. See
Upvotes: 4
Reputation: 72349
None of the BLAS implementations I have even used had a dgemm which could work in-place.
Upvotes: 4