Commit 03b8e2e
committed
ResultTensorOfTensorTA: use TA::Tensor as outer of "regular" companion array
The "regular" (non-nested) companion array used in ToT * T einsum
contractions had its outer tile set to the *inner* tile type of the
input ToT array. For TA-inner ToT that happens to work (TA::Tensor is a
valid outer tile too), but for btas-inner ToT it produced a
DistArray<btas::Tensor, ...> whose tile lacks the outer-tile API einsum
needs (permute/reshape/batch/...).
The outer tile must always be TA::Tensor; inner-tile types like
btas::Tensor are *inner-only*. Fix compatible_regular_distarray_type
to wrap the inner's numeric type in TA::Tensor.
Also bumps the TiledArray pin to the version that lifts the matching
TA-side restrictions (ValeevGroup/tiledarray#546).1 parent 8148756 commit 03b8e2e
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
320 | 326 | | |
321 | | - | |
| 327 | + | |
322 | 328 | | |
323 | 329 | | |
324 | 330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments