Skip to content
Commit 057b2784 authored by Philippe Tillet's avatar Philippe Tillet
Browse files

Core: Now checking for self-assignments in viennacl::matrix<> and viennacl::vector<>

Can be useful in terms of performance when one doesn't know if the vectors will be the same.
For example:
vector<float>* a, vector<float>* b;
//do stuff
*a = *b;
I don't think the user should have to take care of it
parent f1e56fba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment