BTAS icon indicating copy to clipboard operation
BTAS copied to clipboard

btas::contract with Column major.

Open shiozaki opened this issue 11 years ago • 2 comments

btas::contract(1.0, *this, {0,1,3}, *cmat, {3,2}, 0.0, *out, {0,1,2}); with the column major should not permute indices, but it does. Not sure if this is a problem in the index notation, or that of the implementation (or both).

shiozaki avatar Jun 15 '14 10:06 shiozaki

I think just an implementation issue, it should be checked if permutation can be replaced by CblasTrans directive before calling BLAS in btas/generic/contract.h

naokin avatar Jun 15 '14 10:06 naokin

Naoki, in this case there is no transposition either (because it is column major), and I think that btas::contract is biased towards row major. I could look into this later (but I will be hosting a conference till Tuesday..)

shiozaki avatar Jun 15 '14 10:06 shiozaki