You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, our unit tests are written to compare the opencl device result with a hand-written vanilla C++ solution. This was easy to bootstrap with, but as the functions we implement get more complicated, the reference solutions will get more complicated. Eventually, there may be bugs in either implementation.
We should compare ourselves with a respected reference source, either viennacl or boost ublas. Both libraries implement sparse operations, and it should be trivial to wire either of those in as a reference source. Our tests already have a dependency on boost, so maybe it makes sense to use ublas.