DmitryLyakh / TAL_SH

Tensor Algebra Library Routines for Shared Memory Systems
BSD 3-Clause "New" or "Revised" License
38 stars 15 forks source link

Conjugation of the right argument in tensor contraction #19

Open DmitryLyakh opened 3 years ago

DmitryLyakh commented 3 years ago

Turns out this is due to wrong handling of conjugation of the second argument in a contraction. This only happens when your own implementation of BLAS is used, when the code calls a standard BLAS everything is fine. For conjugation on the first argument the result is OK, so this gives the following work-around (red = old code that shows the error, green = work-around that gives correct results). Hope this gives a clue for you to fix.

I can update you on the details on your reguar bi-weekly meeting if you can make that one (in 30 minutes from now).

LucasVisscher commented 3 years ago

Made a work-around for exacorr now. But would be nice to have this fixed.